Camera Aruco Tags Dectection

This commit is contained in:
2026-02-12 15:53:36 -05:00
parent 92da41138b
commit c91ea920a8
20 changed files with 688 additions and 470 deletions

View File

@@ -370,7 +370,7 @@ fi
echo -e "\033[0;32mEnvironment activated (ROS 2 $ROS_VER)\033[0m"
echo ""
echo "Run simulation: bash scripts/run_autonomous.sh --mission hover"
echo "Run simulation: bash scripts/run_autonomous.sh --search spiral"
ACTIVATE_EOF
chmod +x "$SCRIPT_DIR/activate_venv.sh"
@@ -461,8 +461,13 @@ if [ "$INSTALL_ARDUPILOT" = true ]; then
cd "$ARDUPILOT_GZ"
mkdir -p build && cd build
# Deactivate venv so cmake finds system Python with ROS 2 ament packages
deactivate 2>/dev/null || true
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j$(nproc)
# Reactivate venv
source "$SCRIPT_DIR/venv/bin/activate"
print_info "ArduPilot Gazebo plugin built"
@@ -538,6 +543,6 @@ echo -e "${CYAN}To run the simulation:${NC}"
echo ""
echo " cd $SCRIPT_DIR"
echo " source activate_venv.sh"
echo " bash scripts/run_autonomous.sh --mission hover"
echo " bash scripts/run_autonomous.sh --search spiral"
echo ""
echo -e "${GREEN}==========================================${NC}"