Profile image

FT code help

897 Brandon182003  1.5 years ago

Need help with a code where control surfaces work normally but once the G limit is exceeded they disable until back under the value.

Test code that I want to add on to :
(Pitch0.3 + Trim0.07 + Roll-0.05 - PitchRate0.002)

  • Log in to leave a comment
  • Profile image

    @Oyasumi Got it working now. (Pitch0.3 + Trim0.07 + Roll-0.05 - PitchRate0.002)*(VerticalG<2?1:0) just had to flip the sign

    1.5 years ago
  • Profile image
    3,225 Oyasumi

    ((VerticalG>x)?1:0)*(Pitch0.3 + Trim0.07 + Roll-0.05 - PitchRate0.002)

    im assuming u want a functional G limiter tho so use and tune the G limiter found in this link

    +1 1.5 years ago