Files
dragonpilot/tools/sim/launch_openpilot.sh
Justin Newberry 51674f61c1 Simulator: passthrough BLOCK on launch script (#30040)
sim block passthrough
2023-09-25 13:44:26 -07:00

20 lines
477 B
Bash
Executable File

#!/bin/bash
export PASSIVE="0"
export NOBOARD="1"
export SIMULATION="1"
export SKIP_FW_QUERY="1"
export FINGERPRINT="HONDA CIVIC 2016"
export BLOCK="${BLOCK},camerad,loggerd,encoderd,micd,logmessaged"
if [[ "$CI" ]]; then
# TODO: offscreen UI should work
export BLOCK="${BLOCK},ui"
fi
SCRIPT_DIR=$(dirname "$0")
OPENPILOT_DIR=$SCRIPT_DIR/../../
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
cd $OPENPILOT_DIR/selfdrive/manager && exec ./manager.py