From aa067f7079aa12617f7a37d85233e51af44e1bb2 Mon Sep 17 00:00:00 2001 From: Vasily Tarasov Date: Fri, 16 Mar 2018 11:18:48 -0700 Subject: [PATCH] Chevy Volt tweaks (#83) * Adjust Volt's speed scaling Making openpilot's reading to match Volt's dashboard. * Change Volt's brakes to reporting raw values Instead of percentages. For consistency with Panda's safety state machine, that allows for pedal stickiness (reporting near-zero values with brake pedal is unpressed). --- gm_global_a_powertrain.dbc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gm_global_a_powertrain.dbc b/gm_global_a_powertrain.dbc index 6709cdc4697a8e..7c35d9b970651e 100644 --- a/gm_global_a_powertrain.dbc +++ b/gm_global_a_powertrain.dbc @@ -165,15 +165,15 @@ BO_ 715 ASCMGasRegenCmd: 8 K124_ASCM SG_ GasRegenCmd : 22|12@0+ (1,0) [0|0] "" NEO BO_ 840 EBCMWheelSpdFront: 4 K17_EBCM - SG_ FLWheelSpd : 7|16@0+ (0.0305,0) [0|255] "km/h" NEO - SG_ FRWheelSpd : 23|16@0+ (0.0305,0) [0|255] "km/h" NEO + SG_ FLWheelSpd : 7|16@0+ (0.0311,0) [0|255] "km/h" NEO + SG_ FRWheelSpd : 23|16@0+ (0.0311,0) [0|255] "km/h" NEO BO_ 842 EBCMWheelSpdRear: 4 K17_EBCM - SG_ RLWheelSpd : 7|16@0+ (0.0305,0) [0|255] "km/h" NEO - SG_ RRWheelSpd : 23|16@0+ (0.0305,0) [0|255] "km/h" NEO + SG_ RLWheelSpd : 7|16@0+ (0.0311,0) [0|255] "km/h" NEO + SG_ RRWheelSpd : 23|16@0+ (0.0311,0) [0|255] "km/h" NEO BO_ 241 EBCMBrakePedalPosition: 6 K17_EBCM - SG_ BrakePedalPosition : 15|8@0+ (0.392157,0) [0|255] "%" NEO + SG_ BrakePedalPosition : 15|8@0+ (1,0) [0|255] "" NEO BO_ 711 BECMBatteryVoltageCurrent: 6 K17_EBCM SG_ HVBatteryVoltage : 31|12@0+ (0.125,0) [0|511.875] "V" NEO