Ask Your Question
0

How to log python errors when using roslaunch

asked 2016-06-07 10:19:31 -0500

highWaters gravatar image

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)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-06-08 07:13:41 -0500

highWaters gravatar image

I am not quite sure how to capture stderr with ROS routines. However, I solved using the following http://forums.devshed.com/python-prog... , which redirects stderr to a file.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-06-07 10:19:31 -0500

Seen: 182 times

Last updated: Jun 08 '16