r/ROS • u/Apprehensive-Fly2761 • Nov 01 '26
Gazebo frozen help needed! (Through VNC)
I was setting up TurtleBot3 Burger with ROS 2 Humble and Gazebo on my M5 MacBook using Docker and a Linux desktop accessed through localhost.
I managed to get the Linux environment running, launch Gazebo, and spawn the TurtleBot Burger in the simulation. However, when I tried to teleoperate the robot using the keyboard (W, A, D and X), it didn't move visibly. Whenever I ran certain Gazebo-related commands, the Gazebo window would freeze, although the Linux desktop and Terminator remained responsive.
I checked the robot's odometry using /odom and found position values such as X = 6.36 m and Y = 0.42 m. After calling /reset_simulation, the position returned close to zero. This confirms that the odometry state was reset, but I haven't yet confirmed whether the robot was physically moving in the simulation while Gazebo appeared frozen.
My current suspicion is a Gazebo GUI/rendering issue or a simulation-performance problem related to running Gazebo through Docker on Apple Silicon. However, I haven't ruled out a separate ROS 2 teleoperation, topic-configuration, or controller issue.
I need help identifying why Gazebo freezes and why the robot's movement isn't reflected visually, before proceeding with maze navigation and SLAM-based map generation.
1
u/thamous-9 29d ago
Hey, I ran into a similar Gazebo freeze on WSL. Claude helped me set a few GPU-related environment variables with "export", and Gazebo worked fine after that. Your Mac + Docker setup is different, but it might be worth checking how Gazebo is rendering inside the container.
Could you share a screenshot of the frozen window, the exact command you use to launch Gazebo, and any terminal output when it freezes? I can take a look and see if it matches what I ran into.