Deps Update and Test Removed
This commit is contained in:
7
setup.sh
7
setup.sh
@@ -47,6 +47,11 @@ print_error() {
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
cd "$SCRIPT_DIR"
|
||||
|
||||
# Deactivate existing venv if active to avoid conflicts
|
||||
if [ -n "$VIRTUAL_ENV" ]; then
|
||||
deactivate 2>/dev/null || true
|
||||
fi
|
||||
|
||||
# ArduPilot directories
|
||||
ARDUPILOT_HOME="$HOME/ardupilot"
|
||||
ARDUPILOT_GZ="$HOME/ardupilot_gazebo"
|
||||
@@ -285,7 +290,7 @@ pip install --upgrade pip
|
||||
if [ -f "$SCRIPT_DIR/requirements.txt" ]; then
|
||||
pip install -r "$SCRIPT_DIR/requirements.txt" || print_warning "Some Python packages failed"
|
||||
else
|
||||
pip install numpy opencv-python scipy shapely filterpy transforms3d pymavlink pexpect
|
||||
pip install numpy opencv-python scipy shapely filterpy transforms3d pymavlink pexpect future
|
||||
fi
|
||||
|
||||
deactivate
|
||||
|
||||
Reference in New Issue
Block a user