inav icon indicating copy to clipboard operation
inav copied to clipboard

Glide behaviour and speed

Open DeltaVelocity101 opened this issue 8 years ago • 10 comments

For a recent project, I have been making an aircraft which should attempt to return to home without a motor, how will inav behave under these circumstances?

With the RTH height set to "at least 10m" and the aircraft being ~15 m off the ground, the aircraft has enough height to traverse and then land. Having said that, how will the speed control algorithm deal with this? Is there any closed loop speed control based on the aircraft attitude or will the flight controller try to throttle up and level out, eventually stalling.

DeltaVelocity101 avatar Jul 27 '18 09:07 DeltaVelocity101

For a recent project, I have been making an aircraft which should attempt to return to home without a motor, how will inav behave under these circumstances?

badly I would think, you might be able to fudge the settings for it to at least turn back towards home. I believe there is some work in progress on a descent to home that might get you closer as it's going to fly descending over what we have ATM.

Redshifft avatar Jul 27 '18 10:07 Redshifft

I'm sorry I don't quite understand, do you mean to say that it would overfly the home point?

The end goal is to have the aircraft end up above home and loiter its way down to an autoland. So far I've been fudging the settings by not allowing the aircraft to climb (it will be released with plenty of height) and setting the dive angle very low, hopefully forcing it to glide.

DeltaVelocity101 avatar Jul 27 '18 11:07 DeltaVelocity101

You should have explained better what you are doing :) It sounds like you are intentionally wanting a RTH with a glider? As I said there might be something more suitable with an option to descend on route down the line. the current options are not much good without a motor.

Redshifft avatar Jul 27 '18 15:07 Redshifft

Yes thats correct, a triggerable RTH for an aircraft without a motor. Sorry for the misunderstanding! Hopefully something like "Glideslope" as an option will come through at some point, but at the moment do you think theres any way I can force it to do something like that by having:

rth climb angle = 0 rth dive angle = small, 3-5 degrees rth altitude = 'at least'

DeltaVelocity101 avatar Jul 27 '18 15:07 DeltaVelocity101

Maybe you can use the new setting nav_overrides_motor_stop in 2.0. When RTH is enabled manually with throttle at zero it shouldn't try to maintain altitude. Won't work for RTH triggered by failsafe though.

set nav_rth_alt_mode = NO_ALT
set nav_overrides_motor_stop = OFF

shellixyz avatar Jul 27 '18 15:07 shellixyz

@shellixyz I like the idea of nav_rth_alt_mode setting.

digitalentity avatar Jul 28 '18 07:07 digitalentity

@shellixyz in that case will it return to home via a glideslope of sorts?

DeltaVelocity101 avatar Jul 28 '18 16:07 DeltaVelocity101

It will return with the pitch you set into fw_min_throttle_down_pitch

shellixyz avatar Jul 28 '18 23:07 shellixyz

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[bot] avatar Sep 27 '18 00:09 stale[bot]

Automatically closing as inactive.

stale[bot] avatar Oct 11 '18 00:10 stale[bot]