Robotics StackExchange | Archived questions

Launch node directly, emulate roslaunch output="screen"

Is it possible to launch a node python script or executable directly, and emulate the effect of the roslaunch xml 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:= (from here http://wiki.ros.org/Nodes), but I would like to redirect print() and all the loggers output to console.

Asked by vane on 2022-06-18 05:23:44 UTC

Comments

Answers