Notifications
Clear all
Topic starter
15/02/2021 8:54 pm
I would like to display how much a value has changed, not just if it changed.
In ACC sudden tire pressure loss can be a big problem, and I would like to have an overlay that changes color based on the amount the tire pressure value has changed. Tire pressure changes all the time, so just showing that there was a change isn't enough.
In the video link, you can see the left rear tire pressure drop from 27.27 to 27.15 as I hit a big curb.
Thanks!
This topic was modified 4 years ago by Shmokie
16/02/2021 7:31 am
Hi,
You can use the maximum function in this case:
(maximum(delay, value) - value) > threshold
Will return true if the value drops by more than the threshold over the given delay (in ms).
Topic starter
16/02/2021 9:16 am
Thank you Romainrob, that worked!