It looks like you're new here. If you want to get involved, click one of these buttons!
RaceChrono for iOS
RaceChrono for Android
User videos etc
Older versions of RaceChrono
default PID - change min/max
i've been playing with PIDs recently, and the default throttle position sensor is only detected as 13%-79%, and not 0-100%. is there a way to tweak RCP to make an overlay display 0%-100%?
In my experience.... while the data output might only be 13-79. When I do video overlay output it scales it to 0-100 scale. I could be wrong, been awhile since I have done it, but I had the same concern at one point.
1) There is "scaled" option for the "Throttle position" or "Accelerator position" gauges in overlay editor. It will scale the min-max values to 0-100%, but will do it only for the gauge, not graphs etc.
2) You can add custom OBD-II channel to override the standard OBD-II channel that you're using.
Channel: Select the channel you're replacing, for example "Accelerator position".
PID: Use the PID of the channel you're replacing, for example "0x 01 49" for "Accelerator position" channel. The first byte 0x01 is for OBD-II mode for standard PIDs and following bytes are for the actual PID, in this case 0x49.
Equation: Write equation to scale the values. There is currently no convenient scaling function so it's a bit complicated. The default equation for "Accelerator position" is "bytesToUint(raw, 0, 1) / 2.55" so that needs to be modified to scale these values.
"(bytesToUint(raw, 0, 1) / 2.55) - 13.0" would move to base from 13-79% to 0-66%.
"((bytesToUint(raw, 0, 1) / 2.55) - 13.0) / 0.66" would move to base and scale from 13-79% to 0-100%.
"max(0, ((bytesToUint(raw, 0, 1) / 2.55) - 13.0) / 0.66)" would move to base and scale from 13-79% to 0-100%, and prevent negative values.
"min(100, max(0, ((bytesToUint(raw, 0, 1) / 2.55) - 13.0) / 0.66))" would move to base and scale from 13-79% to 0-100%, and prevent negative values and values over 100%.
Forum Software Powered by Vanilla