Profile image

Help on Fly by wire code

1,173 mitsuki  3 months ago

I'm at a loss on how to tweak my fbw code since it wobbles uncontrollably at low altitudes

I've been using this code for my plane's V-tail:

(-clamp(Pitch-PitchRate/70 ,-1,.7))-(clamp(Yaw-YawRate/70,-1,1))-(AngleOfAttack/40) * clamp01(Activate7) * clamp01(GS > 3) * (abs(AngleOfSlip)>90?-1:1)+clamp(Trim,-.1,.1)

how can I change up the code guys?