mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-02-11 09:20:40 +00:00
fix: make autostart script SCRIPT_DIR more robust
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ANCHOR_WS="$(dirname $0)/.."
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
ANCHOR_WS="$SCRIPT_DIR/.."
|
||||
AUTONOMY_WS="$ANCHOR_WS/../rover-Autonomy"
|
||||
BAG_LOCATION="$ANCHOR_WS/../bags/autostart"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user