Scripts Update

This commit is contained in:
2026-02-09 04:52:32 +00:00
parent 2d3b795d82
commit 79f748d35d
10 changed files with 861 additions and 1376 deletions

View File

@@ -140,12 +140,15 @@ sudo apt-get install -y \
python3-dev \
python3-pip \
python3-venv \
python3-full \
python3-pexpect \
python3-opencv \
python3-matplotlib \
python3-lxml \
python3-yaml \
python3-scipy \
python3-future \
pipx \
libopencv-dev \
libxml2-dev \
libxslt1-dev \
@@ -445,8 +448,14 @@ if [ "$INSTALL_ARDUPILOT" = true ]; then
print_info "ArduPilot Gazebo plugin built"
# Install MAVProxy
pip3 install --user pymavlink mavproxy pexpect
# Install MAVProxy using pipx (required for Ubuntu 23.04+ PEP 668)
print_info "Installing MAVProxy..."
pipx install MAVProxy --include-deps || {
# Fallback: try pip with --break-system-packages
pip3 install --user --break-system-packages pymavlink mavproxy 2>/dev/null || \
pip3 install --user pymavlink mavproxy 2>/dev/null || \
print_warning "MAVProxy installation failed - install manually"
}
((STEP++))
# ========================================================================