mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 20:03:53 +08:00
FPv2: fixed fingerprint overrides query result (#25990)
* query FW versions if fixed (override after)
* skip here
* also skip here
* and here
old-commit-hash: e7805eb5c5
This commit is contained in:
@@ -3,4 +3,5 @@
|
||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
||||
|
||||
export FINGERPRINT="TOYOTA COROLLA TSS2 2019"
|
||||
export SKIP_FW_QUERY="1"
|
||||
$DIR/../launch_openpilot.sh
|
||||
|
||||
@@ -81,7 +81,7 @@ def fingerprint(logcan, sendcan):
|
||||
skip_fw_query = os.environ.get('SKIP_FW_QUERY', False)
|
||||
ecu_rx_addrs = set()
|
||||
|
||||
if not fixed_fingerprint and not skip_fw_query:
|
||||
if not skip_fw_query:
|
||||
# Vin query only reliably works through OBDII
|
||||
bus = 1
|
||||
|
||||
|
||||
@@ -53,6 +53,7 @@ def profile(proc, func, car='toyota'):
|
||||
msgs = list(LogReader(rlog_url)) * int(os.getenv("LOOP", "1"))
|
||||
|
||||
os.environ['FINGERPRINT'] = fingerprint
|
||||
os.environ['SKIP_FW_QUERY'] = "1"
|
||||
os.environ['REPLAY'] = "1"
|
||||
|
||||
def run(sm, pm, can_sock):
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
export PASSIVE="0"
|
||||
export NOBOARD="1"
|
||||
export SIMULATION="1"
|
||||
export SKIP_FW_QUERY="1"
|
||||
export FINGERPRINT="HONDA CIVIC 2016"
|
||||
|
||||
export BLOCK="camerad,loggerd,encoderd"
|
||||
|
||||
Reference in New Issue
Block a user