Closed hychiang-git closed 5 years ago
I followed and went through the tutorial here: http://gazebosim.org/tutorials/?tut=ros_control#Tutorial:ROSControl Therefore, I also tried to create a control directory under my workspace.
I also tried to launch a controller in the other terminal, but still got the same error.
At the first terminal, I ran: roslaunch ur5_gazebo ur5_cubes.launch
At the second terminal, I ran: roslaunch ur5_gazebo ur5_controllers.launch
Finally, at the third termainl, I ran rosrun ur5_gazebo send_gripper.py --value 0.5
However, I still got the same error [ERROR] [1550456337.108503510]: Can't accept new action goals. Controller is not running.
I forgot to unpause the Gazebo. It works fine after unpausing the simulator.
you should open controller service!
rosservice call /controller_manager/switch_controller "start_controllers:
I get
Can't accept new commands. Controller is not running
error when I runrosrun ur5_gazebo send_joints.py
in another terminal.I tried to check if my controller_manager is running, but still it appeared normal.
Could anyone helps?
Here are some related files:
ur5gripper_controllers.yaml
ur5_controllers.launch
common.gazebo.xacro
ur5_joint_limited_robot.urdf
Log file