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: move forward throttle output in VTOL modes to QuadPlane update #26028

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

IamPete1
Copy link
Member

Finally getting to some of the tidy ups. This moves the outputting of forward throttle in VTOL modes up to QuadPlane output. There is no huge change in ordering, quadplane.update() is called a couple of lines above the set_throttle where were currently running this code.

// do any transition updates for quadplane
#if HAL_QUADPLANE_ENABLED
quadplane.update();
#endif
if (flight_stage == AP_FixedWing::FlightStage::LAND) {
// allow landing to override servos if it would like to
landing.override_servos();
}
if (control_mode != &mode_manual) {
set_throttle();
}

@tridge
Copy link
Contributor

tridge commented Jan 23, 2024

delay till after 4.5.x is branched

@tridge tridge merged commit c84e5b3 into ArduPilot:master Jan 30, 2024
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants