install script updates 2

This commit is contained in:
2026-01-09 19:32:17 +00:00
parent f8c3bab861
commit 33d5731e7c
10 changed files with 31 additions and 42 deletions

View File

@@ -67,13 +67,10 @@ cd "$ARDUPILOT_HOME"
Tools/environment_install/install-prereqs-ubuntu.sh -y
. ~/.profile || true
# Source ArduPilot environment (includes venv with empy)
# Source ArduPilot environment (created by install-prereqs-ubuntu.sh)
if [ -f "$HOME/.ardupilot_env" ]; then
source "$HOME/.ardupilot_env"
fi
if [ -f "$HOME/venv-ardupilot/bin/activate" ]; then
source "$HOME/venv-ardupilot/bin/activate"
fi
# Build ArduCopter SITL (without DDS to avoid complexity)
./waf configure --board sitl