WIP - gimbal_manager_status and mav_cmd_do_gimbal_manager_configure support #23713
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.
WIP - Adding support for gimbal_manager_status mavlink message. This is necessary to continue the work being done in QGC:
mavlink/qgroundcontrol#10667 (comment)
I talked with @julianoes about this one, it seems we could forget for the moment about secondary control, and leave primary control at 0 unless somebody ( GCS or Autopilot ) requests control, so we change sysid and compid accordingly.
My best guess is that we should create a couple new variables for this, is Mount_Backend the proper place for it? @rmackay9 let me know your thoughts on this please.
We should also add mav_cmd_do_gimbal_manager_configure to our mavlink, because that is what the GCS will send to request and release control of the gimbal.