Gazebo Bridge Rover Update
This commit is contained in:
@@ -239,6 +239,27 @@ ign gazebo --version # Fortress (ROS 2 Humble)
|
||||
|
||||
**Note:** ROS 2 Humble uses Gazebo Fortress, which uses `ign gazebo` command instead of `gz sim`. The launch file auto-detects which command is available.
|
||||
|
||||
**Gazebo GPU Issues in WSL2:**
|
||||
|
||||
If Gazebo crashes with GPU/OpenGL errors, try:
|
||||
|
||||
```bash
|
||||
# Option 1: Run in server mode (no GUI)
|
||||
ign gazebo -s gazebo/worlds/drone_landing.sdf
|
||||
|
||||
# Option 2: Fix permissions and restart WSL
|
||||
sudo usermod -aG render $USER
|
||||
chmod 700 /run/user/1000
|
||||
# Then in PowerShell: wsl --shutdown
|
||||
|
||||
# Option 3: Force software rendering
|
||||
export LIBGL_ALWAYS_SOFTWARE=1
|
||||
ign gazebo gazebo/worlds/drone_landing.sdf
|
||||
|
||||
# Option 4: Just use PyBullet (more reliable on WSL2)
|
||||
python standalone_simulation.py
|
||||
```
|
||||
|
||||
**Troubleshooting WSL GUI:**
|
||||
|
||||
If GUI doesn't work:
|
||||
|
||||
Reference in New Issue
Block a user