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: climb directly to cruise altitude ignoring glide slope #29376

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

magate
Copy link
Contributor

@magate magate commented Feb 25, 2025

Add the ability for quadplanes to climb immediately to the cruise altitude as opposed to using the glide slope calculation.

Testing

Feature disabled under 35 m cutoff altitude

image

Feature enabled over 35 m cutoff altitude

image

Example of cruise altitude cutoff

image

Add the ability for quadplanes to climb immediately to the cruise
altitude as opposed to using the glide slope calculation.
@magate magate force-pushed the magate/quadplane-climbout branch from 0e818c3 to 8d531b4 Compare February 25, 2025 20:47
@peterbarker
Copy link
Contributor

Our existing FlightOptions bit, FlightOptions::IMMEDIATE_CLIMB_IN_AUTO isn't suitable for your purposes?

It's bit 14 here: https://ardupilot.org/plane/docs/parameters.html#flight-options-flight-mode-options

@magate
Copy link
Contributor Author

magate commented Feb 26, 2025

Our existing FlightOptions bit, FlightOptions::IMMEDIATE_CLIMB_IN_AUTO isn't suitable for your purposes?

It's bit 14 here: https://ardupilot.org/plane/docs/parameters.html#flight-options-flight-mode-options

Flight options 14 will change the behavior for all climbs.

Looks very similar to GLIDE_SLOPE_MIN as well except glide_slope_min works both directions (climb and descent).

The PR I have here is just for VTOL Takeoff --> WP. All other waypoints still do the glide slope.

See below where flight options and glide slope min reach WP altitude prior to WP and level off (for both WPs. This PR only reaches WP altitude prior to the WP for the first WP after the VTOL Takeoff.

Flight options bit 14

image

Glide slope min zero

image

This PR Q_FR_CLMBOUT 1

image

@Hwurzburg Hwurzburg added the WikiNeeded needs wiki update label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WikiNeeded needs wiki update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants