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

You can use the following to set the buffering policy to line buffering:

stdbuf -o L ros2 launch pkg pkg.launch.py

I would personally prefer this over setting an option in the launch file since it gives you some flexibility without having to modify the launch file.

click to hide/show revision 2
No.2 Revision

You can use the following to set the buffering policy to line buffering:

stdbuf -o L ros2 launch pkg pkg.launch.py

pkg.launch.py

I would personally prefer this over setting an option in the launch file since it gives you some flexibility without having to modify the launch file.