-
-
Notifications
You must be signed in to change notification settings - Fork 510
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 gimbal v2 status and mission items #1233
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
julianoes
force-pushed
the
pr-gimbal-v2-attitude-status
branch
from
October 21, 2020 11:25
01e99a8
to
92a40c6
Compare
julianoes
changed the title
telemetry: add gimbal v2 attitude status
Add gimbal v2 status and mission items
Oct 21, 2020
JonasVautherin
requested changes
Oct 21, 2020
@JonasVautherin thanks for the review. I'm just waiting for mavlink/MAVSDK-Proto#184 before pushing here again. |
This enable the attitude feedback for the gimbal v2 MAVLink protocol.
This adds support to inject the gimbal attitude using the MAVLink gimbal v2 protocol instead of the deprecated v1 protocol. The v1 protocol is still useable if the autopilot does not seem to support v2, so if it does not respond to the request for GIMBAL_MANAGER_INFORMATION. The auto-detection is, for now, duplicated from the gimbal plugin. The idea is that plugins don't depend on each other to prevent dependency problems. In the future we might consider moving the v1 vs v2 check into the system but then again, we don't want to litter the system too much either. The hope is that v1 won't be around too much longer and we can just remove the magic.
This seems to happen because of rad/deg conversions in float.
This relaxes the check for pitch and yaw gimbal angles.
julianoes
force-pushed
the
pr-gimbal-v2-attitude-status
branch
from
October 22, 2020 12:29
8692284
to
cc21bec
Compare
JonasVautherin
approved these changes
Oct 23, 2020
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.
LGTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This enables: