Ask Your Question

How to use NODELET_DEBUG()

asked 2011-11-14 02:54:59 -0500

toniOliver gravatar image

Probably this is a stupid question, but I couldn't the answer in google or the ros wiki information about nodelets.

I'm using a launch file to launch a nodelet (in fact I've been using different nodelets) which is using NODELET_DEBUG(...) and NODELET_INFO(...) to output information. But in the console I only see the INFO output.

In they say that "They also have the advantage that you can turn one specific nodelet into debug, instead of all nodelets of a specific type".

How can I see the DEBUG output? Is there a way to configure it in the launch file?

Thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-11-14 11:05:18 -0500

joq gravatar image

By default, only ROS_INFO() level messages (and above) appear in the console output.

You can change that on a per-logger granularity by setting the logger level in rxconsole.

There are also ways to set the logger configuration before a node starts running.

edit flag offensive delete link more


Thank you, the rxconsoleloggerlevel is what I was looking for.
toniOliver gravatar image toniOliver  ( 2011-11-16 03:27:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-11-14 02:54:59 -0500

Seen: 1,320 times

Last updated: Nov 14 '11