ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Error with real UR5: Can't accept new action goals. Controller is not running.

asked 2019-11-25 02:55:53 -0500

shu gravatar image

updated 2019-11-25 03:38:59 -0500

gvdhoorn gravatar image

I get the following error when I try to send the UR5 a goal: Can't accept new action goals. Controller is not running.

Here are the commands I am running:

$ roslaunch ur_robot_driver ur5_bringup.launch robot_ip:=169.254.198.35 kinematics_config:="${HOME}/my_robot_calibration.yaml"
$ roslaunch ur5_moveit_config ur5_moveit_planning_execution.launch sim:=true
$ roslaunch ur5_moveit_config moveit_rviz.launch config:=true

The console is however printing that the controllers have been loaded:

[INFO] [1574671438.720679]: Controller Spawner: Loaded controllers: joint_state_controller, scaled_pos_traj_controller, speed_scaling_state_controller, force_torque_sensor_controller
[INFO] [1574671438.728787]: Started controllers: joint_state_controller, scaled_pos_traj_controller, speed_scaling_state_controller, force_torque_sensor_controller

RViz is still able to plan the goal. Does anyone know what the issue is? Let me know if more information is needed.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-11-25 03:27:54 -0500

gvdhoorn gravatar image

updated 2019-11-25 03:38:29 -0500

Can't accept new action goals. Controller is not running.

The "controller" here is most likely the JointTrajectoryController (see here where it prints that message). Even though the spawner has tried to start it, it may not actually be running, probably due to the robot controller (ie: the UR controller) not being in the correct state.

Make sure you have a TP program running that starts the External Control mode.

See UniversalRobots/Universal_Robots_ROS_Driver#4 for an issue about the exact same problem.

There is an open PR to add a FAQ section to the ur_robot_driver documentation which also describes this: UniversalRobots/Universal_Robots_ROS_Driver#44.

Finally: always copy-paste verbatim console output into your question. It's very difficult to help you if you paraphrase errors or don't show context.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-11-25 02:55:53 -0500

Seen: 2,983 times

Last updated: Nov 25 '19