mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 19:12:07 +08:00
test_models: update relay malfunction check (#34999)
relay is checked in fwd hook
This commit is contained in:
+1
-1
Submodule opendbc_repo updated: 81820502a0...5a24ffee45
@@ -240,6 +240,7 @@ class TestCarModelBase(unittest.TestCase):
|
||||
continue
|
||||
|
||||
to_send = libsafety_py.make_CANPacket(msg.address, msg.src % 4, msg.dat)
|
||||
self.safety.safety_fwd_hook(msg.src, msg.address)
|
||||
if self.safety.safety_rx_hook(to_send) != 1:
|
||||
failed_addrs[hex(msg.address)] += 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user