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

Serial gimbal support #2106

Merged
merged 15 commits into from
Jun 20, 2024
Merged

Serial gimbal support #2106

merged 15 commits into from
Jun 20, 2024

Conversation

mmosca
Copy link
Collaborator

@mmosca mmosca commented Jun 6, 2024

Configurator counterpart for iNavFlight/inav#10109

Currently only include the changes to the ports tab.

May eventually add support for the configuration settings.

@mmosca mmosca added this to the 8.0 milestone Jun 6, 2024
@mmosca mmosca marked this pull request as ready for review June 6, 2024 21:30
mmosca added 5 commits June 8, 2024 12:29
Level pitch is not showing up yet
(While at it, also group MIXER PROFILE 2 and MIXER TRANSITION into VTOL and BEEPER and BEEPER MUTE under Beeper
@mmosca
Copy link
Collaborator Author

mmosca commented Jun 8, 2024

Added modes.

GIMBAL CENTER will ignore input and center the gimbal.
GIMBAL LEVEL TILT will get tilt fixed to horizon but still accept user input.
GIMBAL LEVEL ROLL will get roll fixed to horizon but still accept user input.
TILT and ROLL can be combined for FULL PITCH and ROLL locked to the horizon.
GIMBAL CENTER takes precedence over other modes and can be used as a quick way to point camera forward in an emmergency.

image

This PR also groups VTOL modes (MIXER PROFILE 2 and MIXER TRANSITION) as well as Beeper modes (BEEPER and BEEPER MUTE) to make them easier to find. (Can be split in a different PR later, if needed).

@mmosca
Copy link
Collaborator Author

mmosca commented Jun 14, 2024

This is an example of the setup on the ports tab.
image

In this example, UART6 can be used if headtracker type is set to MSP on the configuration tab and UART4 can be used if type is SERIAL.

@mmosca
Copy link
Collaborator Author

mmosca commented Jun 14, 2024

Current configuration tab options, subject to change:
image

@mmosca mmosca merged commit e3a6096 into master Jun 20, 2024
3 checks passed
@shannonbaker
Copy link

[AUTO] selection of input is not working for Gimbal modes.

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

Successfully merging this pull request may close these issues.

2 participants