Skip to content

Commit de65067

Browse files
authored
Rivian: don't show set speed in UI (#1842)
* Rivian: don't show set speed in UI * carparam * just use speed
1 parent 40ac4ea commit de65067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opendbc/car/rivian/carstate.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def update(self, can_parsers) -> structs.CarState:
5252
# TODO: find cruise set speed on CAN
5353
ret.cruiseState.speed = self.last_speed * CV.MPH_TO_MS # detected speed limit
5454
if not self.CP.openpilotLongitudinalControl:
55-
ret.cruiseState.speed = 0
55+
ret.cruiseState.speed = -1
5656
ret.cruiseState.available = True # cp.vl["VDM_AdasSts"]["VDM_AdasInterfaceStatus"] == 1
5757
ret.cruiseState.standstill = cp.vl["VDM_AdasSts"]["VDM_AdasAccelRequestAcknowledged"] == 1
5858

0 commit comments

Comments
 (0)