Hi guys I am using fuerte.
I rosmade the package following the rules and tried to rosrun using the following command:
rosrun roscopter roscopter.py --device=/dev/ttyACM0 --baudrate=115200
I get the following error:
Traceback (most recent call last):
File "/home/pi/fuerte_workspace/sandbox/roscopter/nodes/roscopter.py", line 373, in
rospy.Service("/apm/command", roscopter.srv.APMCommand, command_callback)
AttributeError: 'module' object has no attribute 'srv'
Hi guys I am using fuerte. I rosmade the package following the rules and tried to rosrun using the following command: rosrun roscopter roscopter.py --device=/dev/ttyACM0 --baudrate=115200
I get the following error: Traceback (most recent call last): File "/home/pi/fuerte_workspace/sandbox/roscopter/nodes/roscopter.py", line 373, in
rospy.Service("/apm/command", roscopter.srv.APMCommand, command_callback)
AttributeError: 'module' object has no attribute 'srv'
Any suggestions?
Talha