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
taco
Shane Smiskol 3 years ago committed by GitHub
parent 2d9dacacfe
commit 984134be0e
  1. 1
      scripts/launch_corolla.sh
  2. 2
      selfdrive/car/car_helpers.py
  3. 1
      selfdrive/test/profiling/profiler.py
  4. 1
      tools/sim/launch_openpilot.sh

@ -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"

Loading…
Cancel
Save