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) #351

Merged
merged 3 commits into from
Aug 6, 2024

Conversation

julianoes
Copy link
Collaborator

  • 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.
  • Extend interface to support multiple gimbals.

This aims at improving the API 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.
This will allow multiple gimbals to be controlled from just the one
gimbal plugin instance. The goal is not to have multiple instances like
it is (currently) done for cameras.
Copy link
Collaborator

@JonasVautherin JonasVautherin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@julianoes
Copy link
Collaborator Author

@JonasVautherin thanks for the review!

@julianoes julianoes changed the title Gimbal API redesign Gimbal API redesign (support more than one gimbal, support streams and commands) Aug 4, 2024
@julianoes julianoes merged commit eace651 into main Aug 6, 2024
4 checks passed
@julianoes julianoes deleted the pr-gimbal-improvements branch August 6, 2024 03:21
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