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

implement GUIDED_HEADING_TYPE default mavlink message #28527

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

timtuxworth
Copy link
Contributor

@timtuxworth timtuxworth commented Nov 5, 2024

The MAVLink GUIDED_CHANGE_HEADING command will switch from the default to either HEADING_TYPE_HEADING or HEADING_TYPE_COG, but did not have a way to switch back to "default" this adds the code to implement HEADING_TYPE_DEFAULT which will switch the ArduPilot internal plane.guided_state.target_heading_type back to GUIDED_HEADING_NONE, which is the default value with it's own behavior.

Follow up to the MAVLink PR ArduPilot/mavlink#372 which adds the implementation.

This PR also updates the mavlink submodule reference.

@timtuxworth
Copy link
Contributor Author

Follow up to the MAVLink PR ArduPilot/mavlink#372 which adds the implementation. How does this look @peterbarker , @IamPete1 ?

ArduPlane/GCS_Mavlink.cpp Outdated Show resolved Hide resolved
Copy link
Member

@IamPete1 IamPete1 left a comment

Choose a reason for hiding this comment

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

I think this looks good.

@tridge tridge merged commit 292f7bd into ArduPilot:master Nov 12, 2024
99 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.

5 participants