mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-10-28 17:13:54 +08:00
Compress Ford Stop Fixture Without Changing Samples
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import gzip
|
||||
|
||||
from dataclasses import replace
|
||||
import json
|
||||
@@ -403,7 +404,7 @@ def test_recorded_ford_stopped_geometry_does_not_release_native_stop(request):
|
||||
from openpilot.starpilot.conditional_mode.tests.test_projection import owner_context
|
||||
from openpilot.starpilot.longitudinal.tests.test_lead_approach_planner import Frame, DRIVE_NS
|
||||
|
||||
recorded = json.loads((Path(__file__).parent / 'testdata/ford_stationary_stop.json').read_text())['frames']
|
||||
recorded = json.loads(gzip.decompress((Path(__file__).parent / 'testdata/ford_stationary_stop.json.gz').read_bytes()))['frames']
|
||||
fingerprint = gen_empty_fingerprint()
|
||||
fingerprint[0][0x5A] = 8
|
||||
cp = CarInterface.get_params(CAR.FORD_MUSTANG_MACH_E_MK1, fingerprint, [], True, False, False)
|
||||
|
||||
File diff suppressed because one or more lines are too long
BIN
Binary file not shown.
+1
-1
@@ -1 +1 @@
|
||||
{"protected_inventory_sha256": "dcb46cc4a05334de2febd6253fe33fefc8a0a4ebe130d75de647504cfc1f413a", "schema_version": 1}
|
||||
{"protected_inventory_sha256": "1b27cd449fa23ef9ae9fdb9f10451063ac58e8c3115240d3538f47cde7b6a5a0", "schema_version": 1}
|
||||
|
||||
Reference in New Issue
Block a user