add humble-navigation2

This commit is contained in:
X-lanni
2025-05-27 19:03:40 +08:00
parent 974abb5e1e
commit e74ec539c2
1280 changed files with 204114 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
# Immediately catch all errors
set -eo pipefail
# Uncomment for debugging
# set -x
# env
# Enable autocomplete for user
cp /etc/skel/.bashrc ~/
# Check if srv folder exists
if [ -d "$ROOT_SRV" ]; then
# Setup Nav2 web app
for dir in $OVERLAY_WS/src/navigation2/.devcontainer/caddy/srv/*; \
do if [ -d "$dir" ]; then ln -s "$dir" $ROOT_SRV; fi done
fi