Skip to content

Commit

Permalink
Chevy Volt tweaks (commaai#83)
Browse files Browse the repository at this point in the history
* 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).
  • Loading branch information
vntarasov authored and rbiasini committed Mar 16, 2018
1 parent a60c6c4 commit aa067f7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gm_global_a_powertrain.dbc
Expand Up @@ -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
Expand Down

0 comments on commit aa067f7

Please sign in to comment.