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

Add Option to set the MAV_TYPE manually #2487

Merged

Conversation

cramke
Copy link
Contributor

@cramke cramke commented Jan 1, 2025

Description

  • Add MAV_TYPE to Configuration
  • Set mav_type from component by default or by setter method
  • Move deriving of mav type from component type to Configuration

Context

I want to use MAVSDK (MAVLink) as an API for a Rover type vehicle and want a more specific type than MAV_TYPE_GENERIC in the heartbeat. By default the mav type is derived from the component type or id, using the already existing implementation. It is implemented in a way that does not break the exsiting Constructors but only adds getter and setters.

@cramke cramke closed this Jan 1, 2025
@cramke cramke reopened this Jan 1, 2025
Copy link

sonarqubecloud bot commented Jan 1, 2025

Copy link
Collaborator

@julianoes julianoes left a comment

Choose a reason for hiding this comment

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

Thanks, I think that's ok to change/add with v3.

@julianoes julianoes merged commit 6f0b1e3 into mavlink:main Jan 8, 2025
75 of 77 checks passed
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