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

Gimbal: add angular rate test and fix deg/rad input #23476

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

Conversation

julianoes
Copy link
Contributor

@julianoes julianoes commented Aug 1, 2024

This adds a test to test angular rate input, not just angles.

Also, this fixes MAVLink angular rate input which is in degrees but needs conversion to radians.
At least this second part should probably be backported to v1.15.

Also, make sure to forward gimbal traffic in SITL as it is required for proper discovery of a MAVLink gimbal.

Tested in SITL using typhoon_h480 model

@github-actions github-actions bot added the stale label Sep 1, 2024
This is handy to test angular rate input, not just angles.
The command is in degrees, but the rest in radians.

Also, set roll to NAN, rather than 0 when not set.
A gimbal user needs to be able to receive gimbal device messages such as
GIMBAL_DEVICE_INFORMATION. Therefore, we need to forward this MAVLink
instance.
@julianoes
Copy link
Contributor Author

Probably should have merged this months ago...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant