Skip to main content

i2 hold() Function in Maths

Comments

1 comment

  • adrian

    I think 'previous_sample()' should do what you want. First make sure you select "Point Evaluator" from the dropdown on the RHS, it won't work with "Array Evaluator".

    You expression becomes something like this:
    PitLaneRH = choose('Pit' == 1 AND 'LatAccel' [G] < 0.1 AND 'LongAccel' [G] < 0.1, 'RideHeight' , previous_sample(-1))

    You need to pass a default value to the previous_sample function, you could use invalid() here if that works.

    0

Please sign in to leave a comment.