feat: package TG3 TS1P OmniSocket teleoperation
This commit is contained in:
9
tg3_local_teleop/status.sh
Executable file
9
tg3_local_teleop/status.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
APP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
if [[ ! -f "$APP_DIR/status.json" ]]; then
|
||||
echo "status.json does not exist; the bridge has not produced status yet"
|
||||
exit 1
|
||||
fi
|
||||
python3 -m json.tool "$APP_DIR/status.json"
|
||||
Reference in New Issue
Block a user