How to log python errors when using roslaunch
Hello,
I am using roslaunch to launch several nodes for my project. Whenever there is some syntax error in the code, the following is shown in the main terminal (where I executed roslaunch): process finished cleanly.
I'm looking at the log files for each node, but they don't always register such events. Is there a way to get the feedback that I'd get if I ran the same thing on the python console?
Thank you for your time. (I am sorry if it turns out to be quite a dummy question)
Asked by highWaters on 2016-06-07 10:19:31 UTC
Answers
I am not quite sure how to capture stderr with ROS routines. However, I solved using the following http://forums.devshed.com/python-programming-11/redirect-stdout-stderr-file-500952.html, which redirects stderr to a file.
Asked by highWaters on 2016-06-08 07:13:41 UTC
Comments