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 API redesign (support more than one gimbal, support streams and commands) #2363

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

julianoes
Copy link
Collaborator

@julianoes julianoes commented Jul 31, 2024

This aims at improving the API and implementation by:

  • Adding an argument for send mode (either command or message stream)
  • Includes the mode into the setter because that's when it's sent.
    Otherwise, the set_mode call itself doesn't have any effect which is
    not very intuitive.
  • Handle async calls properly instead of just blocking anyway which is
    not what an async call is supposed to do.
  • Adds support for more than one gimbal

Depends on mavlink/MAVSDK-Proto#351.

@julianoes julianoes force-pushed the pr-improve-gimbal branch 5 times, most recently from 845d371 to 875c7e9 Compare August 2, 2024 04:41
@julianoes julianoes changed the title Re-design gimbal API Gimbal API redesign (support more than one gimbal, support streams and commands) Aug 4, 2024
@julianoes julianoes marked this pull request as ready for review August 6, 2024 03:21
This aims at improving the API and implementation by:
- Adding an argument for send mode (either command or message stream)
- Includes the mode into the setter because that's when it's sent.
  Otherwise, the set_mode call itself doesn't have any effect which is
  not very intuitive.
- Handle async calls properly instead of just blocking anyway which is
  not what an async call is supposed to do.
- Adds support for more than one gimbal
Copy link

sonarcloud bot commented Aug 6, 2024

@julianoes julianoes merged commit 249b064 into main Aug 6, 2024
32 checks passed
@julianoes julianoes deleted the pr-improve-gimbal branch August 6, 2024 21:45
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.

1 participant