Ask Your Question
0

[ROS2 Foxy] Setting log level in launch file

asked 2020-10-17 08:33:10 -0500

avzmpy gravatar image

updated 2020-10-20 09:13:58 -0500

Node( package='nav2_planner', executable='planner_server', name='planner_server', output='screen', parameters=[configured_params], remappings=remappings),

How would you set the debug log level here?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-10-18 04:20:42 -0500

abrzozowski gravatar image

You can add an arguments section to your Node, where you can specify a log level. It'll be look like:

Node(
    # (...)
    arguments=['--ros-args', '--log-level', 'DEBUG']
)
edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-10-17 08:33:10 -0500

Seen: 31 times

Last updated: Oct 20