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

How to change log level to debug in ROS2 Eloquent?

asked 2020-06-07 14:05:37 -0500

zentala gravatar image

This is part of my launch file. I am trying to change log level to debug but __log_level:=debug doesn't work. How can I do it? I have been looking in the documentation but I wasn't able to find this information.

launch_ros.actions.Node(
package='object_analytics_node', 
    node_executable='object_analytics_node',
    arguments=['--tracking', '--localization', '__log_level:=debug'],
    remappings=[
        ('/object_analytics/detected_objects', '/ros2_openvino_toolkit/detected_objects'),
        ('/object_analytics/rgb', camera_topic_image),
        ('/object_analytics/pointcloud', '/camera/depth/color/points')
    ], 
    output='screen'
),
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2020-06-08 01:47:37 -0500

ahcorde gravatar image

Hello,

something like this may help you:

arguments=['--tracking', '--localization', '--ros-args', '--log-level', 'debug']

edit flag offensive delete link more
0

answered 2020-12-30 07:48:26 -0500

notarobot gravatar image

Hello, I believe the accepted answer to this question might help.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-06-07 14:05:37 -0500

Seen: 680 times

Last updated: Dec 30 '20