-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
function definitions updated in thruster_interface #3
base: main
Are you sure you want to change the base?
Conversation
@@ -20,8 +20,7 @@ class Communication { | |||
|
|||
void sendOrientation(Vec3f orientation); | |||
void sendIMURawData(Vec3i accelerometer, Vec3i gyroscope, Vec3i magnetometer); | |||
void sendIMUData(Vec3f acceleration, Vec3f angular_velocity, | |||
Vec3f magnetic_field); | |||
void sendIMUData(Vec3f acceleration, Vec3f angular_velocity, Vec3f magnetic_field); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use clang formatter, Function signature is too big to be written in a single line
*/ | ||
|
||
void Thrusters::setPWMs(const int32_t pwm_values[kThrusterCount]) { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What will happen if wrong values are being Sent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the mentioned issues
thruster pin numbers configured
kThrusterCount value updated
functions defined and signatures modified
Documentation for the functions added