rosserial_python fuerte [closed]

asked 2012-07-12 09:33:36 -0600

In ROS electric I started connecting an arexx robot arm. I used rosserial_arduino as a starting point. And used a slightly modified rosserial_python on the computer side. Now I upgraded to ROS fuerte, and keep getting errormessages:

richi@quadulrich:~/sourcecode/robotloader/ros/uc_arm$ rosrun uc_arm _port:=/dev/ttyUSB0 _baud:=38400 &
[2] 11749
richi@quadulrich:~/sourcecode/robotloader/ros/uc_arm$ Traceback (most recent call last):
  File "/home/richi/sourcecode/robotloader/ros/uc_arm/nodes/", line 38, in <module>
    import roslib; roslib.load_manifest("rosserial_python")
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/", line 62, in load_manifest
    sys.path = _generate_python_path(package_name, _rospack) + sys.path
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/", line 93, in _generate_python_path
    m = rospack.get_manifest(pkg)
  File "/usr/lib/pymodules/python2.7/rospkg/", line 118, in get_manifest
    return self._load_manifest(name)
  File "/usr/lib/pymodules/python2.7/rospkg/", line 157, in _load_manifest
    retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name)
  File "/usr/lib/pymodules/python2.7/rospkg/", line 149, in get_path
    raise ResourceNotFound(name, ros_paths=self._ros_paths)
rospkg.common.ResourceNotFound: rosserial_python
ROS path [0]=/opt/ros/fuerte/share/ros
ROS path [1]=/opt/ros/fuerte/share
ROS path [2]=/opt/ros/fuerte/stacks
ROS path [3]=/home/richi/sourcecode/robotloader/ros

I'm fairly new to ROS and python.

My code is at :

Do I have to look up the changes in and incorporate them into my code. Or is it simply a matter of adding some directory to some search path?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-03-26 18:23:22.737510


I haven't used fuerte, but looks like python can't find rosserial_python, or ROS can't find the package.

What does this give? $ rospack find rosserial_python

Also, check your PYTHONPATH and that you are sourcing the correct stuff in your .bashrc.

dougbot01 gravatar image dougbot01  ( 2012-07-15 15:38:29 -0600 )edit

Hi, did you ever get this to work?

dougbot01 gravatar image dougbot01  ( 2012-09-29 12:29:35 -0600 )edit