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

FR: hold specific descent rate for gliders #7205

Closed
wx4cb opened this issue Jun 28, 2021 · 10 comments
Closed

FR: hold specific descent rate for gliders #7205

wx4cb opened this issue Jun 28, 2021 · 10 comments

Comments

@wx4cb
Copy link

wx4cb commented Jun 28, 2021

is there any way to have a "glider mode" ? where the plane when throttle is at zero and in say angle mode where you can have a specific descent rate and that is set via the cli or configurator.

I personally use feet per second, but the unit isn't really that much of an issue, it would be preferably to have it in the same units as all the other speed calculations in the configurator (cm/s ?)

The way this would be accomplished would be to have it control the pitch via the elevator. needing throttle would be accomplished by the pilot.

note this may already be possible, but i'm not 100% sure

@avsaase
Copy link
Member

avsaase commented Jun 28, 2021

Not exactly what you asked for but there is fw_min_throttle_down_pitch to automatically pitch down in angle mode when throttle is below cruise throttle.

To have a fixed decent rate instead of dive angle in angle mode would require some changes. As things stand right now, angle mode only cares about attitude not altitude or climb/decent rates. On the other hand, the navigation modes that do manage altitude also control throttle to achieve the given altitude target so they're not really suited for gliding. Perhaps you can find a workaround by playing with cruise, min and max navigation throttle levels but that would mess with your RTH functionality.

@wx4cb
Copy link
Author

wx4cb commented Jun 28, 2021

yea right now i'm trying to get it setup for a Vspd of about 1.5-2 ft/s... I have it nailed down to about 2.5 ft/s right now, i'm going to try and change the board alignment trim to see if i can get that final degree or so. IE, make sure the board things it's a degree or so nose down from what it thinks is level.

this way, i should be able to maintain that in angle + autolevel but i was doing it today as i say at 2.5 ft/s in just plane angle. so on this particular plane i should be able to get it.

What i was thinking was having a separate option for "max Vspd" as a mode itself kinda like auto level where you can combine it with say angle where it tried to maintain the Vspd at a constant descent rate

That could then tie in with the glideslope osd item in that you could then tie the two together :D

@CertainBot
Copy link

Much easier than that. Desable autolevel and when in angle use elevator trim to achieve your desired descent rate.

@breadoven
Copy link
Collaborator

Not really sure of the purpose of this. Glider "glide" descent rate is relative to the air mass it's flying in rather than the ground with the air mass moving vertically relative to the ground either through dynamic or thermic affects. INAV can only detect vertical speeds based on the Baro or GPS heights which are relative to the ground so can't take account of movement of the air mass. Trying to use INAV vertical speed to control the glide angle would be unpredictable when the air mass is moving vertically.

There is a function in INAV that overrides the altitude control in Nav modes when the motor is stopped with throttle low (not really documented). It could be used with Poshold or NAV COURSE HOLD/CRUISE mode but you'd have to set nav_overrides_motor_stop to something other than ALL_NAV so the motor stops at low throttle, otherwise the function isn't triggered.

I'm playing with a "Soaring" mode at the moment which works in Poshold and NAV COURSE HOLD/CRUISE. Disables altitude hold regardless of motor setting. Still trying to work out what to do with Angle mode in pitch so the plane finds it's own pitch glide attitude rather than be constrained by Angle.

@wx4cb
Copy link
Author

wx4cb commented Jun 29, 2021

@breadoven but it could though by just using the elevator. that's pretty much how a full size aircraft does it (in its simplest terms). fopr a given vertical speed and forward speed gives you your glideslope. in a commercial airliner you can program the vertical speed (climb or descent rate) and the aircraft will maintain that.

there's actually been a couple of "accidents" where the pilots did that and either flew it into the ground, or died because the aircraft suffered a cabin alt issue that they didnt realise and they died and it crashed up ohio way somewhere - it was the one with that famous golfer on board

but i digress. it doesn't have to be as sophisticated as that, but as i say. we already have the glideslope value so i dunno how much more difficult it could be to have a mode based on either that or Vspd. All it's doing is controlling the pitch like you would do with the sticks to maintain that particlular Vspd.

As for a vertically moving airmass, then yes, that would upset it a little, but then again you should be monitoring your flight anyway :D ready to take over if needed :D

@CertainBot
Copy link

You cannot compare a comercial aircraft powered descent to a glider motorless descent. In a glide descent there is no point in targeting a specific descent rate, it all depends on airspeed, aircrafts glide ratio, air currents, etc. There is a dynamic equilibrium between speed an lift which maintains a certain pitch and descent rate. If speed rises then nose rises until speed is lost and nose falls a bit restoring the equilibrium. In all this process descent rate changes all the time. If you try to maintain a fixed descent rate in all this process you will run into trouble.

@breadoven
Copy link
Collaborator

I think this isn't really to do with gliders as in motorised sailplanes but more to do with any power plane with the motor off. You want to be able have an actively controlled descent rate using auto mode rather than just rely on the fixed trim to decide the rate ?

@wx4cb
Copy link
Author

wx4cb commented Jun 29, 2021

I think this isn't really to do with gliders as in motorised sailplanes but more to do with any power plane with the motor off. You want to be able have an actively controlled descent rate using auto mode rather than just rely on the fixed trim to decide the rate ?

theoretically it would apply to any motorised plane yes. in my specific use case would be a glider, but yes, any with plane it could be useful and it could also be used for an emergency landing where it's a specific glideslope down the the deck

@stale
Copy link

stale bot commented Jan 9, 2022

This issue / pull request has been automatically marked as stale because it has not had any activity in 60 days. The resources of the INAV team are limited, and so we are asking for your help.
This issue / pull request will be closed if no further activity occurs within two weeks.

@stale stale bot added the Inactive label Jan 9, 2022
@DzikuVx DzikuVx removed the Inactive label Jan 9, 2022
@b14ckyy
Copy link
Collaborator

b14ckyy commented Mar 20, 2024

ANGLE HOLD mode should perfectly cover this feature request. #9294

@b14ckyy b14ckyy closed this as completed Mar 20, 2024
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

No branches or pull requests

6 participants