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

Guided Mode support MAV_CMD_DO_CHANGE_SPEED #21286

Merged
merged 1 commit into from Aug 2, 2022

Conversation

lthall
Copy link
Contributor

@lthall lthall commented Jul 27, 2022

This PR adds support to Guided Mode for MAV_CMD_DO_CHANGE_SPEED.
Previously this called WPNav directly and the WPNav libary would change the limits in the position controller. These changes would therefore impact Alt_Hold, Loiter ect by setting these defaults to WP_Nav parameters rather than Loiter or Pilot parameters.
With this change the command only takes effect in Auto or Guided.

ArduCopter/GCS_Mavlink.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

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

LGTM

@tridge tridge merged commit 7dd196c into ArduPilot:master Aug 2, 2022
@lthall lthall deleted the 20220727_DoChangeSpeed branch August 9, 2023 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants