Robotics StackExchange | Archived questions

[rospack] Error: package 'rosserial_python' not found

Hello, I'm a noob when it comes to ROS and am not one to resort to asking for help unless I've exhausted all other avenues. I've got ros indigo running on a Rpi with the latest wheezy and managed to get through the initial tutorials successfully, roscore, rosnode and so on. I'm now trying to work my way through the tutorials that get the arduino to behave as a node usine rosserialarduino. I've followed the *'rosserialarduino/Tutorials/Arduino IDE Setup'* totorials to completion and began working on the next tutorial - 'rosserial_arduino/Tutorials/Hello World'

I have one terminal running 'roscore' and open a new terminal to execute: rosrun rosserialpython serialnode.py _port:=/dev/ttyUSB0 after a few moments I get : [rospack] Error: package 'rosserial_python' not found

Any help would be very much appreciated. Thank you

Asked by ros_me on 2015-02-16 11:58:53 UTC

Comments

Answers

I needed to 'source /install/setup.bash' within the terminal I was using to run the command ! This needs to be done each time in every new terminal that is opened.

Asked by ros_me on 2015-02-17 10:22:27 UTC

Comments

This works. I had the same problem. Thanks for posting the answer.

Asked by Kiran Prakash on 2015-12-02 15:37:07 UTC