mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-06 14:16:39 +08:00
update process replay test routes (#2482)
* update bosch route * update rfs * bump refs old-commit-hash: 37959207502c366d783972243a0d02f6ba0a91df
This commit is contained in:
@@ -74,6 +74,11 @@ class DumbSocket:
|
||||
except capnp.lib.capnp.KjException: # pylint: disable=c-extension-no-member
|
||||
# lists
|
||||
dat = messaging.new_message(s, 0)
|
||||
|
||||
# TODO: remove this after deprecated all hw without a relay
|
||||
if s == "health":
|
||||
dat.health.hwType = log.HealthData.HwType.uno
|
||||
|
||||
self.data = dat.to_bytes()
|
||||
|
||||
def receive(self, non_blocking=False):
|
||||
@@ -336,6 +341,15 @@ def python_replay_process(cfg, lr):
|
||||
params.put("CommunityFeaturesToggle", "1")
|
||||
|
||||
os.environ['NO_RADAR_SLEEP'] = "1"
|
||||
os.environ['SKIP_FW_QUERY'] = "1"
|
||||
os.environ['FINGERPRINT'] = ""
|
||||
for msg in lr:
|
||||
if msg.which() == 'carParams':
|
||||
# TODO: get a stock VW route
|
||||
if "Generic Volkswagen" not in msg.carParams.carFingerprint:
|
||||
os.environ['FINGERPRINT'] = msg.carParams.carFingerprint
|
||||
break
|
||||
|
||||
manager.prepare_managed_process(cfg.proc_name)
|
||||
mod = importlib.import_module(manager.managed_processes[cfg.proc_name])
|
||||
thread = threading.Thread(target=mod.main, args=args)
|
||||
|
||||
@@ -1 +1 @@
|
||||
955869126912fa93325ff5ef9cd94310378e3082
|
||||
f863303a303348b27d624a1e301857ec0b432e17
|
||||
@@ -12,15 +12,14 @@ from tools.lib.logreader import LogReader
|
||||
INJECT_MODEL = 0
|
||||
|
||||
segments = [
|
||||
("HONDA", "0375fdf7b1ce594d|2019-06-13--08-32-25--3"), # HONDA.ACCORD
|
||||
("HONDA", "99c94dc769b5d96e|2019-08-03--14-19-59--2"), # HONDA.CIVIC
|
||||
("HONDA", "d83f36766f8012a5|2020-02-05--18-42-21--2"), # HONDA.CIVIC_BOSCH_DIESEL (BOSCH)
|
||||
("HONDA", "99c94dc769b5d96e|2019-08-03--14-19-59--2"), # HONDA.CIVIC (NIDEC)
|
||||
("TOYOTA", "77611a1fac303767|2020-02-29--13-29-33--3"), # TOYOTA.COROLLA_TSS2
|
||||
("TOYOTA", "b14c5b4742e6fc85|2020-10-14--11-04-47--4"), # TOYOTA.RAV4 (LQR)
|
||||
("TOYOTA", "0982d79ebb0de295|2020-10-18--19-11-36--5"), # TOYOTA.PRIUS (INDI)
|
||||
("GM", "7cc2a8365b4dd8a9|2018-12-02--12-10-44--2"), # GM.ACADIA
|
||||
("CHRYSLER", "b6849f5cf2c926b1|2020-02-28--07-29-48--13"), # CHRYSLER.PACIFICA
|
||||
("HYUNDAI", "5b7c365c50084530|2020-04-15--16-13-24--3"), # HYUNDAI.SONATA
|
||||
#("CHRYSLER", "b6e1317e1bfbefa6|2020-03-04--13-11-40"), # CHRYSLER.JEEP_CHEROKEE
|
||||
("SUBARU", "7873afaf022d36e2|2019-07-03--18-46-44--0"), # SUBARU.IMPREZA
|
||||
("VOLKSWAGEN", "76b83eb0245de90e|2020-03-05--19-16-05--3"), # VW.GOLF
|
||||
("NISSAN", "fbbfa6af821552b9|2020-03-03--08-09-43--0"), # NISSAN.XTRAIL
|
||||
|
||||
Reference in New Issue
Block a user