mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
test_models: use gen_empty_fingerprint (#30752)
use gen_empty_fingerprint old-commit-hash: d9a8846d58af2a3a9a598fcf9fb1acf89e4b54f6
This commit is contained in:
@@ -13,6 +13,7 @@ from cereal import log, car
|
||||
from openpilot.common.basedir import BASEDIR
|
||||
from openpilot.common.params import Params
|
||||
from openpilot.common.realtime import DT_CTRL
|
||||
from openpilot.selfdrive.car import gen_empty_fingerprint
|
||||
from openpilot.selfdrive.car.fingerprints import all_known_cars
|
||||
from openpilot.selfdrive.car.car_helpers import FRAME_FINGERPRINT, interfaces
|
||||
from openpilot.selfdrive.car.honda.values import CAR as HONDA, HONDA_BOSCH
|
||||
@@ -104,7 +105,7 @@ class TestCarModelBase(unittest.TestCase):
|
||||
can_msgs = []
|
||||
cls.elm_frame = None
|
||||
cls.car_safety_mode_frame = None
|
||||
fingerprint = defaultdict(dict)
|
||||
fingerprint = gen_empty_fingerprint()
|
||||
experimental_long = False
|
||||
for msg in lr:
|
||||
if msg.which() == "can":
|
||||
|
||||
Reference in New Issue
Block a user