Lua script command to get battery voltage on RC Track?
Posted: Sat Apr 11, 2020 1:30 pm
What's the Lua script API command to get battery voltage on the RC Track? It's not mentioned here:
Analog Sensor Functions
Reason I'm asking is because it's off a bit compared to what my ECU and multimeter measure. So I want to output the battery voltage on CAN to measure and record together with my ECU internal variable for battery voltage. Then I can figure out the proper linearization for battery voltage in the RC Track.
P.S. no, it's not different because of different measurement points in the voltage bus. I've put the multimeter at exactly the point where the RC Track is connected, and the multimeter reads very close to what the ECU reads, and not same as what the RC Track measures.
Analog Sensor Functions
Reason I'm asking is because it's off a bit compared to what my ECU and multimeter measure. So I want to output the battery voltage on CAN to measure and record together with my ECU internal variable for battery voltage. Then I can figure out the proper linearization for battery voltage in the RC Track.
P.S. no, it's not different because of different measurement points in the voltage bus. I've put the multimeter at exactly the point where the RC Track is connected, and the multimeter reads very close to what the ECU reads, and not same as what the RC Track measures.