We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40ac4ea commit de65067Copy full SHA for de65067
opendbc/car/rivian/carstate.py
@@ -52,7 +52,7 @@ def update(self, can_parsers) -> structs.CarState:
52
# TODO: find cruise set speed on CAN
53
ret.cruiseState.speed = self.last_speed * CV.MPH_TO_MS # detected speed limit
54
if not self.CP.openpilotLongitudinalControl:
55
- ret.cruiseState.speed = 0
+ ret.cruiseState.speed = -1
56
ret.cruiseState.available = True # cp.vl["VDM_AdasSts"]["VDM_AdasInterfaceStatus"] == 1
57
ret.cruiseState.standstill = cp.vl["VDM_AdasSts"]["VDM_AdasAccelRequestAcknowledged"] == 1
58
0 commit comments