inav icon indicating copy to clipboard operation
inav copied to clipboard

Wing crash itself in RTH mode

Open flashez opened this issue 8 years ago • 14 comments

Board and Version

INAV/OMNIBUS 1.9.1 Apr 21 2018 / 12:53:03 (03a5c19) Actual board is Omnibus F3

Behavior

The wing (Reptile S800) is dropping in Failsafe mode (RTH engaged). Video compilation of actual wing stall: https://www.youtube.com/watch?v=0U8l5BLBX64 I suspect the throttle value of the RTH to be too low. If you have any suggestion :)

Blackbox logs/Config (.ZIP) where problem occurs

https://pastebin.com/1xHseGdx

flashez avatar Jun 03 '18 21:06 flashez

Yes looks like it stalls try to increase the throttle. Settings set nav_fw_cruise_thr and nav_fw_pitch2thr. Cruise throttle is the throttle it uses when level. pitch2thr is the amount the throttle is increased for each degree pitching up or decreased when pitching down.

shellixyz avatar Jun 03 '18 23:06 shellixyz

So @shellixyz do you mean I should increase nav_fw_cruise_thr but for nav_fw_pitch2thr I don't really know what I should do. I'm pretty new with inav and wings. Maybe switch nav_fw_cruise_thr from 1400 to 1600 since nav_fw_max_thr = 1700 ? Also nav_fw_pitch2thr = 10 what should I try ?

flashez avatar Jun 04 '18 10:06 flashez

You should set nav_fw_cruise_thr to the throttle value your wing is flying happily with when level. For nav_fw_pitch2thr fly at 10 degree up pitch and note the minimum throttle you can fly this way. Then set nav_fw_pitch2thr to (noted_thr - nav_fw_cruise_thr) * 0.11. You can set nav_fw_max_thr higher if you think it is too low it is the maximum throttle the FC will use when controlling the throttle automatically (like in RTH).

shellixyz avatar Jun 04 '18 21:06 shellixyz

Thanks a lot for the clear explanation @shellixyz Lastly, how do you know the throttle value (like on osd) ? I have throttle % input only.

flashez avatar Jun 04 '18 22:06 flashez

Multiply throttle % by 10 and add 1000.

Tygrys-1 avatar Jun 05 '18 19:06 Tygrys-1

So I made some changes since but the problem is still occuring. Here is a DVR showing clearly the wing crashing right after RTH is engaged by failsafe: https://www.youtube.com/watch?v=eZGbhM9_9bw

flashez avatar Jun 10 '18 21:06 flashez

Seems like your wing stalls as soon it banks. It is unable to enforce the max banking angle too. As soon it banks to turn toward home it ends in an loop. Are you sure surfaces have enough authority and GC is right?

giacomo892 avatar Jun 11 '18 07:06 giacomo892

COG is ok but i don't really know what you mean by "surfaces have enough authority"

flashez avatar Jun 11 '18 09:06 flashez

Can you control the plane perfectly while you are in ANGLE mode?

giacomo892 avatar Jun 11 '18 10:06 giacomo892

@giacomo892 yes without any problems, keeping it's altitude (ANGLE + ALT HOLD). I've done several RTH before (RTH issued by failsafe, so fully automatic, not RTH mode) without any problems.

flashez avatar Jun 11 '18 10:06 flashez

I've done several RTH before (RTH issued by failsafe, so fully automatic, not RTH mode) without any problems.

In your video it is the case (failsafe) and it still crashes. There is no difference between RTH on FS and RTH mode it is done by the same code. So if one is working the other should be working the same. Please provide a blackbox log for further analysis.

shellixyz avatar Jun 12 '18 22:06 shellixyz

@flashez if with same settings wing occasionally crashes when maintaining a turn - I'd blame CoG or insufficient airspeed. From your comments I can see that issue is intermittent which makes it impossible to tackle without knowing what FC is actually doing (logs)

digitalentity avatar Jun 13 '18 06:06 digitalentity

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 Aug 12 '18 06:08 stale[bot]

Automatically closing as inactive.

stale[bot] avatar Aug 26 '18 07:08 stale[bot]