Reload gzclient without quitting app

asked 2022-01-09 11:36:23 -0600

kjy5 gravatar image


I'm using Gazebo with ROS Noetic. Every time I re-run my ROS code, I seem to have to quit the Gazebo client and start it up again. Starting up the Gazebo client application takes a long time and I am wondering if there is a way to keep the client GUI application alive and simply reload the simulation or connection to the server.

I've tried using the reset world button in gzclient to "reset" the world, but whoever I exit my ROS code (which will also close gzserver) my client GUI will freeze. It also won't unfreeze after my ROS server comes back online.

I'm running the Gazebo client gzclient on macOS while gzserver is on a Ubuntu VM (along with ROS). ROS + gzserver is launched via a launch file.

Please let me know how this can be done!

Thank you!

edit retag flag offensive close merge delete