ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

log level in diagnostics package.

asked 2017-03-21 05:02:22 -0600

can-43811 gravatar image

Hi, As we can see that below API can be used for setting the default log level for console. can anybody suggest how to set the leg level for diagnostics.Here same i am expecting i.e. (ros::diagnostics_updater::levels::Debug)

ros::console::set_logger_level(ROSCONSOLE_DEFAULT_NAME, ros::console::levels::Debug)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-01-18 08:09:27 -0600

knxa gravatar image

Diagnostics does not have a threshold to control if messages are sent of not. It is up the receiving nodes to decide if they want to discard e.g. info level diagnostics messages.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-03-21 05:02:22 -0600

Seen: 184 times

Last updated: Jan 18 '18