Robotics StackExchange | Archived questions

How to write messages(msgs) to a log file in Gazebo?

I'm writing a plug-in and I would need to store some messages to a log file in order to debug the plug-in. Is there any way to do so? Right now, I'm printing the values to the command line, but this solution isn't really helpful. It would be great to save the time-series of the messages values to a file (possibly a .ulg) so as to plot them after the simulation, but any other ideas are welcome. I know that Gazebo has a logging and playback feature, but only physical variables can be analysed in it. Thank you in advance!

Asked by FM-SEAL on 2023-04-19 09:47:12 UTC

Comments

Answers