Gazebo | Ignition | Community
Ask Your Question
0

Cannot save log files when using a ROS enabled plugin

asked 2013-05-16 07:52:57 -0500

AndreiHaidu gravatar image

Hi,

I am getting the following warning when shutting down Gazebo (1.8.0) and using ROS enabled plugins in the code, and because of this warning, the log file is not saved:

Warning [gazebo_main.cc:57] escalating to SIGKILL on server

After removing the ROS parts from the plugin, the shutdown works fine, and the log file is also saved.
The plugin is similar to the one from the tutorials.

The warning appears even if I don't use a ROS subscriber. I also tried rosnode->shutdown() at a moment in the code, but without success.

Thanks, Andrei

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-05-16 10:23:24 -0500

gerkey gravatar image

Try running gzlog stop and waiting for Gazebo to come unpaused (it'll pause while flushing the log) before shutting down.

edit flag offensive delete link more

Comments

Thanks, it worked

AndreiHaidu gravatar imageAndreiHaidu ( 2013-05-17 02:05:18 -0500 )edit

Question Tools

Stats

Asked: 2013-05-16 07:52:57 -0500

Seen: 485 times

Last updated: May 16 '13