Simple SRV error in roscopter: 'module' object has no attribute 'srv' [closed]

asked 2014-09-10 09:44:39 -0500

goshawk gravatar image

I am running fuerte on the Raspberry Pi to connect to an arducopter flight controller using the roscopter package. I followed the roscopter wiki and everything went well in the package installation but when I try to run the roscopter using the following command

  rosrun roscopter --device=/dev/ttyUSB0 --baudrate=115200

I get the following error:

Traceback (most recent call last):
   File "/home/pi/fuerte_workspace/sandbox/roscopter/nodes/", line 373, in <module>
   rospy.Service("/apm/command", roscopter.srv.APMCommand, command_callback)
AttributeError: 'module' object has no attribute 'srv'

Where could the origin of this problem be? Is python not recognizing my python packages?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-11-02 01:53:56.788571