Robotics StackExchange | Archived questions

Turning GUI on and off again at runtime

Hey,

I'm using gazebo with gazeborospkg for reinforcement learning. To make things go faster, I turned off Gazebo's GUI. I'd like to be able to turn it on in the middle of the training to see how its going for a few iterations, then turn it off again.

Is there a way to do that ? Is it possible from inside a ROS node or a Gazebo plugin ?

I thought about recording rosbags to replay on another instance of Gazebo with GUI on, but unfortunately rosbags cannot record service calls.

I'm using ROS melodic with Gazebo9 on Ubuntu 18.04.

Thanks for your help.

Asked by boubside on 2020-04-30 10:23:43 UTC

Comments

Answers

You can always just write gzclient to a new terminal and the client will pop up.

Also you can insert a camera into your world and get picture from it when you need.

Asked by kumpakri on 2020-04-30 11:11:28 UTC

Comments