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

mavproxy_mode: use MAV_CMD_DO_REPOSITION for 'Fly To' #1222

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

peterbarker
Copy link
Contributor

this has the advantage that you don't need to be in guided mode to start the command. Prevents some clunk interactions between pilot and GCS operator as the vehicle does not need to be somewhere safe to loiter before the command can be safely issued.

Tested Copter, Plane and Rover in SITL. Altitudes appear to be correct.

this has the advantage that you don't need to be in guided mode to start the command.  Prevents some clunky interactions between pilot and GCS operator as the vehicle does not need to be somewhere safe to loiter before the command can be safely issued.
@tridge
Copy link
Contributor

tridge commented Aug 10, 2023

my main concern is an accidental click when not in GUIDED mode. We could use confirm, like we now do for set home, but maybe we should confirm only if not currently in GUIDED?

@peterbarker
Copy link
Contributor Author

my main concern is an accidental click when not in GUIDED mode. We could use confirm, like we now do for set home, but maybe we should confirm only if not currently in GUIDED?

"Fly To" pops up an altitude box - if you cancel that dialogue box rather than giving it a value then the operation does nothing - the vehicle doesn't change modes or anything. I considered that confirmation enough :-)

@tridge tridge merged commit 67839c7 into ArduPilot:master Aug 11, 2023
1 check passed
@peterbarker peterbarker deleted the pr/fly-to-is-reposition branch November 12, 2023 00:33
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