-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gimbal Controller rework, use gimbal_device_id instead of compid, see…
… long notes: Implementation was based on the assumption that all the gimbal managers would have a different compId, which is not always the case. As per mavlink documentation: https://mavlink.io/en/services/gimbal_v2.html Discovery should be based on GCS sending a MAV_CMD_REQUEST_MESSAGE for GIMBAL_MANAGER_INFORMATION and we should instantiate gimbals when we receive response to this message. This commit introduces several modifications toi allow this. This was needed because otherwise the existent implementation would not allow multi gimbal systems with gimbals belonging to the same compid to work correctly
- Loading branch information
1 parent
60ef91d
commit 7221c21
Showing
2 changed files
with
97 additions
and
59 deletions.
There are no files selected for viewing
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
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