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

Plane: Quadplane: remove RTL navigate incorrect comment and unneeded… #22492

Merged
merged 1 commit into from Dec 27, 2022

Conversation

IamPete1
Copy link
Member

… check

This comment and check was added by me at some point in the past. I'm not sure if it was ever correct, it certainty is not now. Navigate is only called from the mode pointer here:

control_mode->navigate();

So it is not possible to call the RTL navigate from QRTL mode. Possibly in the past we were calling the RTL mode function directly. Tested by adding a panic if in QRTL mode and running the quadplane autotest.

@CraigElder CraigElder changed the title Plane: Quadaplane: remove RTL navigate incorrect comment and unnedded… Plane: Quadplane: remove RTL navigate incorrect comment and unneeded… Dec 27, 2022
@tridge tridge merged commit da0927b into ArduPilot:master Dec 27, 2022
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