Skip to content
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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

psn21
Copy link

@psn21 psn21 commented Mar 2, 2024

thruster pin numbers configured
kThrusterCount value updated
functions defined and signatures modified
Documentation for the functions added

@rahulknnns rahulknnns self-assigned this Mar 2, 2024
include/pins_info.hpp Outdated Show resolved Hide resolved
@@ -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);
Copy link
Collaborator

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]) {

Copy link
Collaborator

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?

Copy link
Collaborator

@rahulknnns rahulknnns left a 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

@psn21 psn21 closed this Mar 12, 2024
@psn21 psn21 reopened this Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants