Robotics StackExchange | Archived questions

How to set verbosity level for /gazebo node?

I am trying to display ROSDEBUGSTREAMNAMED messages (in terminal and rqtconsole) of a class I wrote which is indirectly used by the /gazebo node. This class is part of a ros_control controller I wrote. I am able to see INFO, WARN, and ERROR, but not DEBUG.

I have tried several things that did not work. I tried adding the line log4j.logger.ros.gazeboros=DEBUG in ROSCONSOLECONFIGFILE. It shows some debug messages, but not the ones from my class. I also tried adding the line log4j.logger.ros.gazeboros.safetycontrolconnectedcontrollers=DEBUG to the same file (the appended string is the name of the package/header of my class, which I am also using as the first argument in ROSDEBUGSTREAMNAMED). One thing that I observed is that in rqt_console, /gazebo has no loggers.

So what do I need to do to see my debug messages?

Asked by Daniel L on 2015-11-09 22:11:37 UTC

Comments

Answers