Profile image

How to set something to active only under a certain speed?

36 Shifter  1.6 years ago

How do I set something to only activate under a certain speed, like airbrakes? Please help, thanks

  • Log in to leave a comment
  • Profile image
    16.8k windshifter1

    Would altitude be: (Altitude > X ? input : 0) ?

    1.6 years ago
  • Profile image
    36 Shifter

    @HuskyDynamics01 Thanks ALOT!

    +1 1.6 years ago
  • Profile image

    Depending on the input (like, for example, if it's a FT equation you have stored in a variable), it might be easier to use a slightly simplified code:
    (IAS > X ? input : 0)
    X = desired speed (m/s)
    input = desired input (i.e. brakes, throttle, FT variable, etc.)

    +1 1.6 years ago
  • Profile image
    282 griges

    i tried it here, arm spoiler
    It has other condition as for automatic landing spoiler

    1.6 years ago
  • Profile image
    282 griges

    (IAS>X?1:0)*Brake
    X is speed

    1.6 years ago