Skip to content

Commit 64908eb

Browse files
committed
try sending just 1
1 parent 6bf738a commit 64908eb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

opendbc/car/rivian/carcontroller.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ def update(self, CC, CS, now_nanos):
4343

4444
if (self.frame - self.last_cancel_frame) * DT_CTRL > 0.02:
4545
# send the next expected counter
46-
for offset in range(15):
47-
counter = (CS.vdm_adas_status["VDM_AdasStatus_Counter"] + 1 + offset) % 15
48-
can_sends.append(create_adas_status(self.packer, counter, CS.vdm_adas_status))
46+
offset = 0
47+
# for offset in range(15):
48+
counter = (CS.vdm_adas_status["VDM_AdasStatus_Counter"] + 1 + offset) % 15
49+
can_sends.append(create_adas_status(self.packer, counter, CS.vdm_adas_status))
4950
self.last_cancel_frame = self.frame
5051

5152
new_actuators = actuators.as_builder()

0 commit comments

Comments
 (0)