Launch node directly, emulate roslaunch output="screen"

asked 2022-06-18 05:23:44 -0500

vane gravatar image

Is it possible to launch a node python script or executable directly, and emulate the effect of the roslaunch xml <node> attribute output="screen"?

For example I need to debug a python node, and for technical reasons I can't attach to the process, so I would like to launch the node like roslaunch does. I know about __log:=<filename> (from here, but I would like to redirect print() and all the loggers output to console.</filename>

edit retag flag offensive close merge delete