NameError: global name 'MoveCartAction' is not defined [closed]
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 cob_arm solo.launch there occurs a error which is File "/opt/ros/electric/stacks/cob_driver/cob_manipulator/ros/src/move_cart.py", line 103, in <module> mc = move_cart() File "/opt/ros/electric/stacks/cob_driver/cob_manipulator/ros/src/move_cart.py", line 24, in __init__ self.as_ = actionlib.SimpleActionServer("move_cart", MoveCartAction, execute_cb=self.cbMoveCart) NameError: global name 'MoveCartAction' is not defined [arm_controller/move_cart-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.