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

Actuator IDs switched #6

Open
SamkeTheBoss opened this issue Jan 20, 2022 · 2 comments
Open

Actuator IDs switched #6

SamkeTheBoss opened this issue Jan 20, 2022 · 2 comments

Comments

@SamkeTheBoss
Copy link

Hello!

I believe there is another issue when it comes to actuator states and motor IDs. Now that we can see the IDs from 0 to 3, it ca be observed that rear right and rear left wheel are swapped. In other words, actuator_states[2] contains the data from the rear left wheel (instead of rear right) and actuator_states[3] contains the data from the rear right wheel (instead of rear left). Could you please provide some instructions on how to fix this?

Thank you in advance,
Jakov

@rdu-weston
Copy link
Contributor

The motors are ordered counter-clockwise: 0 - front right, 1 - front left, 2 - rear left, 3 - rear right. Thanks.

@ojura
Copy link
Contributor

ojura commented Jan 21, 2022

int8 MOTOR_ID_REAR_RIGHT = 2
int8 MOTOR_ID_REAR_LEFT = 3

Swap?

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

No branches or pull requests

3 participants