Galactic buffers logs only on Windows when using launcher

asked 2022-11-03 14:06:06 -0500

feri73 gravatar image

The title pretty much sums it up. When I use ubuntu 20.04, ros2 galactic shows the logs in real time after I start up my nodes using a launch file. On windows 10, the same script and nodes buffer all the logs and only show them after the nodes exit (except for the very first log indicating the node starts). I have tried setting emulate_tty=True and the envvar RCUTILS_LOGGING_BUFFERED_STREAM=0, without any success. Any idea why this happens and how to solve it?

edit retag flag offensive close merge delete