c172p-team / c172p

A high detailed version of the Cessna 172P aircraft for FlightGear
GNU General Public License v2.0
82 stars 43 forks source link

Tiedowns make the plane jump around #1383

Closed hbeni closed 1 year ago

hbeni commented 3 years ago

Hi there, we found an issue with the tiedowns at the c182s (which we ported over initially from the c172p). Under some circumstances the plane starts to oscillate wildly. We found out that this is linked to FDM framedrop which will mess up the PID that calculates the forces.

For the c182s we switched the force calculation to use a simple <table>. Additionally we refactored the tiedown-breakage code from nasal to XML. See the changes here: https://github.com/HHS81/c182s/pull/447.

I think they are quick and straightforward to port back here, only the lat two commits seem to apply here:

wlbragg commented 3 years ago

Great, thank you. I saw you were working on this. I'll check it out shortly.