Robotics StackExchange | Archived questions

NameError: global name 'MoveCartAction' is not defined

Hi, I want to contorl my schunk LWA3 arm,then I installed the electic care-o-bot (ubuntu 11.04),when i run the following command : roslaunch cobarm solo.launch there occurs a error which is File "/opt/ros/electric/stacks/cobdriver/cobmanipulator/ros/src/movecart.py", line 103, in mc = movecart() File "/opt/ros/electric/stacks/cobdriver/cobmanipulator/ros/src/movecart.py", line 24, in init self.as_ = actionlib.SimpleActionServer("movecart", MoveCartAction, executecb=self.cbMoveCart) NameError: global name 'MoveCartAction' is not defined [armcontroller/movecart-4] process has died [pid 8066, exit code 1]. I didn't change anything in those packages, did the source code have problems? For I am a new in using ROS, please tell me where should i define the global name 'MoveCartAction',thank you for your reply.

Asked by irina on 2011-12-11 19:25:20 UTC

Comments

Answers