Skip to content

Commit

Permalink
merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
bongbui321 committed Oct 9, 2024
1 parent 6c04d62 commit 97fe63b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions selfdrive/car/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
from openpilot.tools.lib.logreader import LogReader
from openpilot.tools.lib.route import SegmentName
from openpilot.selfdrive.test.fuzzy_generation import FuzzyGenerator
from openpilot.selfdrive.car.helpers import convert_carControl

from panda.tests.libpanda import libpanda_py

Expand Down Expand Up @@ -417,7 +416,7 @@ def test_panda_safety_tx_fuzzy(self, data):
# follow logic of LoC in controlsd to set accel to 0 if longActive is False
cc_msg["actuators"]["accel"] = 0

CC = convert_carControl(car.CarControl.new_message(**cc_msg).as_reader())
CC = car.CarControl.new_message(**cc_msg).as_reader()

self.safety.set_timer(int(self.tx_fuzzy_ts_nanos / 1e3))
_, sendcans = self.CI.apply(CC, self.tx_fuzzy_ts_nanos)
Expand Down

0 comments on commit 97fe63b

Please sign in to comment.