I have been trying to figure out how to get the launch file to specify the logger level of ROS2 Nodes but I have been unsuccessful.
Node(
package="...snip...",
executable="...snip...",
output="log",
exec_name='...snip...',
arguments=["--ros-args --log-level DEBUG --"],
),
It does seem to generate a valid command as displayed in the logs when I terminate the launch:
[ERROR] [snip]: process has died [pid 47524, exit code -6, cmd '...snip... --ros-args --log-level DEBUG -- --ros-args -r __node:=...snip... --params-file ...snip....yaml --params-file /tmp/launch_params_nyb586m5'].
Running this on the terminal does show debug messages printed. But when running from the launch file, there are no debug messages to be seen anywhere, on the screen or in the logs.
Originally posted by flimsypondreed on ROS Answers with karma: 3 on 2021-06-22
Post score: 0