-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
add new rotation #14512
add new rotation #14512
Conversation
fix compile error fix rotation modify roatation
555ad5a
to
44a8b59
Compare
I'm wondering if there's value in trying to keep in sync with mavlink? https://mavlink.io/en/messages/common.html#MAV_SENSOR_ORIENTATION |
@dagar yes, be careful that the current implementation assumes that enum values are consecutive, without gap. I was tricked last time I added a rotation following MAVLink's enum, which was not equal to last enum value +1. I finally added the rotation at the end of the PX4 enum by pure lazyness. |
and the rotation enum is so disarray, do you wish to arrange? |
@jinchengde I think we need this one: mavlink/mavlink#1348 |
@jinchengde could you update this based on mavlink/mavlink#1348 ? |
@julianoes do you mean modify the enum to 41? |
Yes, thanks @jinchengde. And it would be nice to also update the mavlink (c_library_v2) submodule to latest master. |
Nevermind, this is already done in #14725. |
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.
I think this is correct.
* add new rotation ROLL_270_YAW_180 fix compile error fix rotation modify roatation * modify enum to 41
I haven't find any rotation for ROLL_270_YAW_180, add it