Ask Your Question
0

Python Numpy Error

asked 2014-03-11 07:28:17 -0500

nicobari gravatar image

Hi I am following this tutorial to use numpy with rospy

http://wiki.ros.org/rospy_tutorials/Tutorials/numpy

when I am running

rosrun numpy_tutorial numpy_listener.py

I am getting the following error

terminate called after throwing an instance of 'rospack::Exception'
what(): error parsing manifest of package numpy_tutorial at /home/tanmay/catkin_ws/numpy_tutorial/package.xml

any suggestions what I might be doing incorrectly?

Thanks, TM

edit retag flag offensive close merge delete

Comments

Im getting an error: [rospack] Error: package 'numpy_tutorial' not found

s1 gravatar image s1  ( 2015-09-22 08:33:57 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-03-11 17:22:20 -0500

fergs gravatar image

Not sure what the exact problem is, but the error is pretty clear -- package.xml in numpy_tutorial is unparseable. Perhaps post the contents of that file and we can debug what is actually wrong with it.

(as for why you're even parsing package.xml, you've made a call to roslib.load_manifest().. it should be noted, that this is not needed for an actual catkin package, and in fact, is generally recommended not to do with a catkin package. You might try removing that line also. Regardless, I'd guess that tutorial is out of date)

edit flag offensive delete link more

Comments

eah it is working after I removed the line thank you.

nicobari gravatar image nicobari  ( 2014-03-11 17:46:30 -0500 )edit

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: 2014-03-11 07:28:17 -0500

Seen: 243 times

Last updated: Mar 11 '14