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

Revision history [back]

click to hide/show revision 1
initial version

from the docs you can find that there are some options for redirecting stdout and stderr to log files and to the screen.

If you want to redirect one or both stdout and stderr per node away from the screen, try messing with those options

For one of my nodes, I'm tired of seeing stuff output from it to the screen, so I have this the output param like so:

object_mapper = launch_ros.actions.Node(
        package='object_mapper',
        node_executable='object_mapper',
        node_name='object_mapper',
        output={'both': 'log'}
)

from the docs you can find that there are some options for redirecting stdout and stderr to log files and to the screen.

If you want to redirect one or both stdout and stderr per node away from the screen, try messing with those options

For one of my nodes, I'm tired of seeing stuff output from it to the screen, so I have this set the output param like so:

object_mapper = launch_ros.actions.Node(
        package='object_mapper',
        node_executable='object_mapper',
        node_name='object_mapper',
        output={'both': 'log'}
)