AP_Mount: Siyi ZT6 hardware id and set-lens fix #27890
Merged
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 fixes two problems with the AP_Mount Siyi driver to improve support for the ZT6
This has been tested on real hardware (a ZT6 only, I do not have a ZT30). Below is a screen shot of MP's messages tab. Before this change the "Mount: Siyi ZT6" message did not appear.
I think we should backport this to 4.5 because we claimed that we had ZT6 support in an earlier point release. The ZT6 actually does partially work without this fix in that the gimbal can be moved around. It's just that set-len doesn't work properly.