-
Notifications
You must be signed in to change notification settings - Fork 83
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
component_id does not support mavlink::common::MavComponent #97
Comments
@patrickelectric What do you mean? There is nothing called MavComponent in common.xml. If you mean MAV_COMPONENT this is an enum of component ids that have some predefined meaning. In theory you can actually use any component id other than 0 for anything, but in practice this will break code that (incorrectly) relies on the predefined meaning. EDITED Ah, and now I see that this is a rust mavlink post, and presumably rust-specific. Please ignore me! |
Thanks for your input @hamishwillee ! But yes, this is more related to the rust implementation 😄 But it should also accept MavComponent type: Probably I'm going to update the enum to accept an unspecified ID. |
No need to be sorry - I think it is excellent to create issues as it is way too easy to lose track of things! And this is definitely a bug. |
MavComponent should be allowed to be used with component_id
The text was updated successfully, but these errors were encountered: