We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4678bec commit f0adc15Copy full SHA for f0adc15
opendbc/car/rivian/carstate.py
@@ -20,7 +20,7 @@ def update(self, can_parsers) -> structs.CarState:
20
ret = structs.CarState()
21
22
# Vehicle speed
23
- ret.vEgoRaw = cp.vl["ESPiB1"]["ESPiB1_VehicleSpeed"]
+ ret.vEgoRaw = cp.vl["ESP_Status"]["ESP_Vehicle_Speed"] * CV.KPH_TO_MS
24
ret.vEgo, ret.aEgo = self.update_speed_kf(ret.vEgoRaw)
25
ret.standstill = (ret.vEgo < 0.1)
26
@@ -78,7 +78,7 @@ def update(self, can_parsers) -> structs.CarState:
78
def get_can_parsers(CP):
79
pt_messages = [
80
# sig_address, frequency
81
- ("ESPiB1", 50),
+ ("ESP_Status", 50),
82
("VDM_PropStatus", 50),
83
("iBESP2", 50),
84
("EPAS_AdasStatus", 100),
0 commit comments