Gauges change colors late, one cycle after the current value
Posted: Sat Mar 09, 2019 6:08 pm
Im running RC on a Fire8 tablet.
I've got gauges configure to change colors via value ranges.
For example, an RPM gauge:
0-750 - white
750 - 6000 green
6000-> red
Im bench testing my RCP setup with an Arduino which sends CAN packets. What I see in testing is that the color of the gauges do not change correctly until one packet AFTER going over the limits.
For example:
packet1(RPM = 5500) - gauge is green
packet2(RPM = 6100) - gauge is green (!!))
packet3(RPM = 6300) - gauge turns red.
packet4(RPM = 100) - gauge is red
packet5(RPM = 600) - gauge turns white
I've reproduced this with a variety of gauges on the dash at a variety of CAN packet speeds.
I've got gauges configure to change colors via value ranges.
For example, an RPM gauge:
0-750 - white
750 - 6000 green
6000-> red
Im bench testing my RCP setup with an Arduino which sends CAN packets. What I see in testing is that the color of the gauges do not change correctly until one packet AFTER going over the limits.
For example:
packet1(RPM = 5500) - gauge is green
packet2(RPM = 6100) - gauge is green (!!))
packet3(RPM = 6300) - gauge turns red.
packet4(RPM = 100) - gauge is red
packet5(RPM = 600) - gauge turns white
I've reproduced this with a variety of gauges on the dash at a variety of CAN packet speeds.