mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 21:14:01 +08:00
Simulator: launch simulator from any directory (#29910)
launch sim from any directory
old-commit-hash: a95c896b5f
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user