Simulator: launch simulator from any directory (#29910)

launch sim from any directory
old-commit-hash: a95c896b5f
This commit is contained in:
Justin Newberry
2023-09-13 18:47:39 -07:00
committed by GitHub
parent 44e4114312
commit e09216088e

View File

@@ -12,5 +12,8 @@ if [[ "$CI" ]]; then
export BLOCK="${BLOCK},ui"
fi
SCRIPT_DIR=$(dirname "$0")
OPENPILOT_DIR=$SCRIPT_DIR/../../
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
cd ../../selfdrive/manager && exec ./manager.py
cd $OPENPILOT_DIR/selfdrive/manager && exec ./manager.py