enhance installation guides, add environment setup, and expand troubleshooting for all platforms.

This commit is contained in:
2026-01-07 19:55:10 +00:00
parent 232ee2d8d5
commit e6ed6fcfac
6 changed files with 451 additions and 45 deletions

View File

@@ -221,12 +221,34 @@ Write-Host ""
Write-Host "With moving rover:" -ForegroundColor Yellow
Write-Host " python standalone_simulation.py --pattern circular --speed 0.3" -ForegroundColor White
Write-Host ""
Write-Host "==============================================" -ForegroundColor Cyan
Write-Host " Want ROS 2 + Gazebo? Use WSL2" -ForegroundColor Cyan
Write-Host "==============================================" -ForegroundColor Cyan
Write-Host "======================================================" -ForegroundColor Cyan
Write-Host " Want ROS 2 + Gazebo + ArduPilot? Use WSL2" -ForegroundColor Cyan
Write-Host "======================================================" -ForegroundColor Cyan
Write-Host ""
Write-Host "For the full experience with ROS 2 and Gazebo:" -ForegroundColor Gray
Write-Host " 1. Install WSL2: wsl --install -d Ubuntu-22.04" -ForegroundColor White
Write-Host " 2. Open Ubuntu and run: ./setup/install_ubuntu.sh" -ForegroundColor White
Write-Host " 3. See docs/installation.md for details" -ForegroundColor White
Write-Host "For the full simulation with Gazebo and ArduPilot:" -ForegroundColor Gray
Write-Host ""
Write-Host "Step 1: Install WSL2" -ForegroundColor Yellow
Write-Host " wsl --install -d Ubuntu-24.04" -ForegroundColor White
Write-Host " # Restart your computer when prompted" -ForegroundColor DarkGray
Write-Host ""
Write-Host "Step 2: Open Ubuntu and install" -ForegroundColor Yellow
Write-Host " cd /mnt/c/path/to/RDC_Simulation" -ForegroundColor White
Write-Host " ./setup/install_ubuntu.sh --with-ardupilot" -ForegroundColor White
Write-Host " source ~/.bashrc" -ForegroundColor White
Write-Host ""
Write-Host "Step 3: Run simulation (2 terminals)" -ForegroundColor Yellow
Write-Host " Terminal 1: ./scripts/run_ardupilot_sim.sh runway" -ForegroundColor White
Write-Host " Terminal 2: ./scripts/run_ardupilot_controller.sh" -ForegroundColor White
Write-Host ""
Write-Host "GPU Acceleration in WSL:" -ForegroundColor Yellow
Write-Host " - Windows 11: WSLg auto-enabled (no setup needed)" -ForegroundColor DarkGray
Write-Host " - NVIDIA GPU: Install WSL driver from nvidia.com/cuda/wsl" -ForegroundColor DarkGray
Write-Host " - Check: glxinfo | grep 'OpenGL renderer'" -ForegroundColor DarkGray
Write-Host ""
Write-Host "WSL Tips:" -ForegroundColor Yellow
Write-Host " - Access Windows files: /mnt/c/Users/YourName/" -ForegroundColor DarkGray
Write-Host " - Open folder in Explorer: explorer.exe ." -ForegroundColor DarkGray
Write-Host " - Increase memory: Create %UserProfile%\.wslconfig" -ForegroundColor DarkGray
Write-Host ""
Write-Host "See docs/installation.md for detailed instructions." -ForegroundColor Gray
Write-Host ""