body: add battery percentage and charger status to signals and opendbc (#24145)

* bump opendbc

* add signals

* bump opendbc
old-commit-hash: 102738e4e0
taco
Igor Biletskyy 3 years ago committed by GitHub
parent 5a9c45b6e3
commit 4ded7b99f6
  1. 2
      opendbc
  2. 2
      selfdrive/car/body/carstate.py

@ -1 +1 @@
Subproject commit cc45cc1bc045a98d12ffdfd9923b23ead9638b87 Subproject commit 3154fcc3b3bcf7cdcf5fc010b1f0ba28c477e693

@ -44,6 +44,8 @@ class CarState(CarStateBase):
("MOTOR_ERR_R", "VAR_VALUES"), ("MOTOR_ERR_R", "VAR_VALUES"),
("MCU_TEMP", "BODY_DATA"), ("MCU_TEMP", "BODY_DATA"),
("BATT_VOLTAGE", "BODY_DATA"), ("BATT_VOLTAGE", "BODY_DATA"),
("BATT_PERCENTAGE", "BODY_DATA"),
("CHARGER_CONNECTED", "BODY_DATA"),
] ]
checks = [ checks = [

Loading…
Cancel
Save