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

Use more general MAVLink commands rather than setting channel_overrides #1

Open
hamishwillee opened this issue May 11, 2015 · 1 comment
Labels

Comments

@hamishwillee
Copy link

This uses a custom command to set the channel_override for camera aiming rather than using the "proper" API Vehicle.channel_override.

However the impression I get from @tridge is that we don't want to recommend using channel_overrides for this sort of thing at all! It is designed for simulating user input or things like implementing a joystick - not for direct control of the vehicle. In particular this is not a particularly good idea because the example relies on the channels being configured as you have done, and this could change.

Can you change this to use a command that abstracts the mount method? For example can MAV_CMD_DO_MOUNT_CONTROL be used to control the camera outside of missions - or possibly MAV_CMD_DO_MOUNT_CONFIGURE with the appropriate mount mode?

@mrpollo
Copy link
Member

mrpollo commented May 11, 2015

@arthurbenemann @geeksville what do yo guys think of this?

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

No branches or pull requests

2 participants