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

Most probable issue is console buffering, you can try exporting follwoing env vars. First one is for python in general, second is for eloquent and older releases, third is for foxy.

export PYTHONUNBUFFERED=0
export RCUTILS_CONSOLE_STDOUT_LINE_BUFFERED=1
export RCUTILS_LOGGING_BUFFERED_STREAM=1

It is described here: https://index.ros.org/doc/ros2/Tutorials/Logging-and-logger-configuration/

Most probable issue is console buffering, on windows you can try exporting follwoing env vars. First one is for python in general, second is for eloquent and older releases, third is for foxy.have to:

export PYTHONUNBUFFERED=0
export RCUTILS_CONSOLE_STDOUT_LINE_BUFFERED=1
export RCUTILS_LOGGING_BUFFERED_STREAM=1

set "RCUTILS_LOGGING_BUFFERED_STREAM=1"

It is described here: https://index.ros.org/doc/ros2/Tutorials/Logging-and-logger-configuration/