UniversalRobots / Universal_Robots_ROS_Driver

Universal Robots ROS driver supporting CB3 and e-Series
Apache License 2.0
741 stars 398 forks source link

MoveIt and UR Driver: "Can't accept new action goals. Controller is not running." #308

Closed Schellenberg3 closed 3 years ago

Schellenberg3 commented 3 years ago

Summary

While trying to use MoveIt! to plan and execute a trajectory, the UR driver raises an error expressing that it Can't accept new action goals. Controller is not running.

However, the External Control script is being run (on the run menu, not through the program menu) and the terminal displays Robot ready to receive control commands.

To resolve some other errors, I've made the following changes:

1) Adjust the file ur5_e_moveit_config/config/controllers.yaml so that the name is /pos_joint_traj_controller. I followed advice from issue 261. See file below:

controller_list:
 - name: /pos_joint_traj_controller # or /vel_based_pos_traj_controller or /pos_based_pos_traj_controller
   action_ns: follow_joint_trajectory
   type: FollowJointTrajectory
   default: true
   joints:
      - shoulder_pan_joint
      - shoulder_lift_joint
      - elbow_joint
      - wrist_1_joint
      - wrist_2_joint
      - wrist_3_joint](url)

2) Adjust the file ur5_e_moveit_config/launch/move_group.launch so that 'MoveGroupExecuteService' is instead 'MoveGroupExecuteTrajectoryAction'. Followed issue 416. See file snippet below:

    <!-- MoveGroup capabilities to load -->
    <param name="capabilities" value="move_group/MoveGroupCartesianPathService
                      move_group/MoveGroupExecuteTrajectoryAction
                      move_group/MoveGroupKinematicsService
                      move_group/MoveGroupMoveAction
                      move_group/MoveGroupPickPlaceAction
                      move_group/MoveGroupPlanService
                      move_group/MoveGroupQueryPlannersService
                      move_group/MoveGroupStateValidationService
                      move_group/MoveGroupGetPlanningSceneService
                      move_group/ClearOctomapService
                      " />

Versions

Issue details

I am running 3 terminal windows related to this. Their commands are:

1)roslaunch ur_robot_driver ur5e_bringup.launch robot_ip:=192.168.0.101 2)roslaunch ur5_e_moveit_config ur5_e_moveit_planning_execution.launch 3)roslaunch ur5_e_moveit_config moveit_rviz.launch config:=true

My process has been as follows: 1) Run terminal 1 2) Start the external control program on Run tab of the teach pendant 3) Run terminal 2 4) Run terminal 3 5) Use the RVIZ GUI to drag the robot to a new location 6) Press plan in the RVIZ GUI 7) Press execute in the RVIZ GUI

At this point the robot doesn't move and the Can't accept new action goals. Controller is not running. error appears in terminal 1.

I am fairly inexperienced with ROS and I think I've reached the limit of what I can solve on my own or by looking at other peoples issues. Any help to get this robot moving would be appreciate!

I've recorded the output of each terminal below, with notes to identify what is going on.

Terminal 1: ur_robot_driver

Input: disl@disl-Alienware:~$ roslaunch ur_robot_driver ur5e_bringup.launch robot_ip:=192.168.0.101 Output:

... logging to /home/disl/.ros/log/bf35b3a6-55d7-11eb-9fa1-14b31f0f1f99/roslaunch-disl-Alienware-10395.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

xacro: in-order processing became default in ROS Melodic. You can drop the option.
started roslaunch server http://disl-Alienware:43075/

SUMMARY
========

PARAMETERS
 * /controller_stopper/consistent_controllers: ['joint_state_con...
 * /force_torque_sensor_controller/publish_rate: 500
 * /force_torque_sensor_controller/type: force_torque_sens...
 * /hardware_control_loop/loop_hz: 500
 * /joint_group_vel_controller/joints: ['shoulder_pan_jo...
 * /joint_group_vel_controller/type: velocity_controll...
 * /joint_state_controller/publish_rate: 500
 * /joint_state_controller/type: joint_state_contr...
 * /pos_joint_traj_controller/action_monitor_rate: 20
 * /pos_joint_traj_controller/constraints/elbow_joint/goal: 0.1
 * /pos_joint_traj_controller/constraints/elbow_joint/trajectory: 0.2
 * /pos_joint_traj_controller/constraints/goal_time: 0.6
 * /pos_joint_traj_controller/constraints/shoulder_lift_joint/goal: 0.1
 * /pos_joint_traj_controller/constraints/shoulder_lift_joint/trajectory: 0.2
 * /pos_joint_traj_controller/constraints/shoulder_pan_joint/goal: 0.1
 * /pos_joint_traj_controller/constraints/shoulder_pan_joint/trajectory: 0.2
 * /pos_joint_traj_controller/constraints/stopped_velocity_tolerance: 0.05
 * /pos_joint_traj_controller/constraints/wrist_1_joint/goal: 0.1
 * /pos_joint_traj_controller/constraints/wrist_1_joint/trajectory: 0.2
 * /pos_joint_traj_controller/constraints/wrist_2_joint/goal: 0.1
 * /pos_joint_traj_controller/constraints/wrist_2_joint/trajectory: 0.2
 * /pos_joint_traj_controller/constraints/wrist_3_joint/goal: 0.1
 * /pos_joint_traj_controller/constraints/wrist_3_joint/trajectory: 0.2
 * /pos_joint_traj_controller/joints: ['shoulder_pan_jo...
 * /pos_joint_traj_controller/state_publish_rate: 500
 * /pos_joint_traj_controller/stop_trajectory_duration: 0.5
 * /pos_joint_traj_controller/type: position_controll...
 * /robot_description: <?xml version="1....
 * /robot_status_controller/handle_name: industrial_robot_...
 * /robot_status_controller/publish_rate: 10
 * /robot_status_controller/type: industrial_robot_...
 * /rosdistro: melodic
 * /rosversion: 1.14.10
 * /scaled_pos_joint_traj_controller/action_monitor_rate: 20
 * /scaled_pos_joint_traj_controller/constraints/elbow_joint/goal: 0.1
 * /scaled_pos_joint_traj_controller/constraints/elbow_joint/trajectory: 0.2
 * /scaled_pos_joint_traj_controller/constraints/goal_time: 0.6
 * /scaled_pos_joint_traj_controller/constraints/shoulder_lift_joint/goal: 0.1
 * /scaled_pos_joint_traj_controller/constraints/shoulder_lift_joint/trajectory: 0.2
 * /scaled_pos_joint_traj_controller/constraints/shoulder_pan_joint/goal: 0.1
 * /scaled_pos_joint_traj_controller/constraints/shoulder_pan_joint/trajectory: 0.2
 * /scaled_pos_joint_traj_controller/constraints/stopped_velocity_tolerance: 0.05
 * /scaled_pos_joint_traj_controller/constraints/wrist_1_joint/goal: 0.1
 * /scaled_pos_joint_traj_controller/constraints/wrist_1_joint/trajectory: 0.2
 * /scaled_pos_joint_traj_controller/constraints/wrist_2_joint/goal: 0.1
 * /scaled_pos_joint_traj_controller/constraints/wrist_2_joint/trajectory: 0.2
 * /scaled_pos_joint_traj_controller/constraints/wrist_3_joint/goal: 0.1
 * /scaled_pos_joint_traj_controller/constraints/wrist_3_joint/trajectory: 0.2
 * /scaled_pos_joint_traj_controller/joints: ['shoulder_pan_jo...
 * /scaled_pos_joint_traj_controller/state_publish_rate: 500
 * /scaled_pos_joint_traj_controller/stop_trajectory_duration: 0.5
 * /scaled_pos_joint_traj_controller/type: position_controll...
 * /scaled_vel_joint_traj_controller/action_monitor_rate: 20
 * /scaled_vel_joint_traj_controller/constraints/elbow_joint/goal: 0.1
 * /scaled_vel_joint_traj_controller/constraints/elbow_joint/trajectory: 0.1
 * /scaled_vel_joint_traj_controller/constraints/goal_time: 0.6
 * /scaled_vel_joint_traj_controller/constraints/shoulder_lift_joint/goal: 0.1
 * /scaled_vel_joint_traj_controller/constraints/shoulder_lift_joint/trajectory: 0.1
 * /scaled_vel_joint_traj_controller/constraints/shoulder_pan_joint/goal: 0.1
 * /scaled_vel_joint_traj_controller/constraints/shoulder_pan_joint/trajectory: 0.1
 * /scaled_vel_joint_traj_controller/constraints/stopped_velocity_tolerance: 0.05
 * /scaled_vel_joint_traj_controller/constraints/wrist_1_joint/goal: 0.1
 * /scaled_vel_joint_traj_controller/constraints/wrist_1_joint/trajectory: 0.1
 * /scaled_vel_joint_traj_controller/constraints/wrist_2_joint/goal: 0.1
 * /scaled_vel_joint_traj_controller/constraints/wrist_2_joint/trajectory: 0.1
 * /scaled_vel_joint_traj_controller/constraints/wrist_3_joint/goal: 0.1
 * /scaled_vel_joint_traj_controller/constraints/wrist_3_joint/trajectory: 0.1
 * /scaled_vel_joint_traj_controller/gains/elbow_joint/d: 0.1
 * /scaled_vel_joint_traj_controller/gains/elbow_joint/i: 0.05
 * /scaled_vel_joint_traj_controller/gains/elbow_joint/i_clamp: 1
 * /scaled_vel_joint_traj_controller/gains/elbow_joint/p: 5.0
 * /scaled_vel_joint_traj_controller/gains/shoulder_lift_joint/d: 0.1
 * /scaled_vel_joint_traj_controller/gains/shoulder_lift_joint/i: 0.05
 * /scaled_vel_joint_traj_controller/gains/shoulder_lift_joint/i_clamp: 1
 * /scaled_vel_joint_traj_controller/gains/shoulder_lift_joint/p: 5.0
 * /scaled_vel_joint_traj_controller/gains/shoulder_pan_joint/d: 0.1
 * /scaled_vel_joint_traj_controller/gains/shoulder_pan_joint/i: 0.05
 * /scaled_vel_joint_traj_controller/gains/shoulder_pan_joint/i_clamp: 1
 * /scaled_vel_joint_traj_controller/gains/shoulder_pan_joint/p: 5.0
 * /scaled_vel_joint_traj_controller/gains/wrist_1_joint/d: 0.1
 * /scaled_vel_joint_traj_controller/gains/wrist_1_joint/i: 0.05
 * /scaled_vel_joint_traj_controller/gains/wrist_1_joint/i_clamp: 1
 * /scaled_vel_joint_traj_controller/gains/wrist_1_joint/p: 5.0
 * /scaled_vel_joint_traj_controller/gains/wrist_2_joint/d: 0.1
 * /scaled_vel_joint_traj_controller/gains/wrist_2_joint/i: 0.05
 * /scaled_vel_joint_traj_controller/gains/wrist_2_joint/i_clamp: 1
 * /scaled_vel_joint_traj_controller/gains/wrist_2_joint/p: 5.0
 * /scaled_vel_joint_traj_controller/gains/wrist_3_joint/d: 0.1
 * /scaled_vel_joint_traj_controller/gains/wrist_3_joint/i: 0.05
 * /scaled_vel_joint_traj_controller/gains/wrist_3_joint/i_clamp: 1
 * /scaled_vel_joint_traj_controller/gains/wrist_3_joint/p: 5.0
 * /scaled_vel_joint_traj_controller/joints: ['shoulder_pan_jo...
 * /scaled_vel_joint_traj_controller/state_publish_rate: 500
 * /scaled_vel_joint_traj_controller/stop_trajectory_duration: 0.5
 * /scaled_vel_joint_traj_controller/type: velocity_controll...
 * /scaled_vel_joint_traj_controller/velocity_ff/elbow_joint: 1.0
 * /scaled_vel_joint_traj_controller/velocity_ff/shoulder_lift_joint: 1.0
 * /scaled_vel_joint_traj_controller/velocity_ff/shoulder_pan_joint: 1.0
 * /scaled_vel_joint_traj_controller/velocity_ff/wrist_1_joint: 1.0
 * /scaled_vel_joint_traj_controller/velocity_ff/wrist_2_joint: 1.0
 * /scaled_vel_joint_traj_controller/velocity_ff/wrist_3_joint: 1.0
 * /speed_scaling_state_controller/publish_rate: 500
 * /speed_scaling_state_controller/type: ur_controllers/Sp...
 * /ur_hardware_interface/headless_mode: False
 * /ur_hardware_interface/input_recipe_file: /home/disl/catkin...
 * /ur_hardware_interface/joints: ['shoulder_pan_jo...
 * /ur_hardware_interface/kinematics/forearm/pitch: 0
 * /ur_hardware_interface/kinematics/forearm/roll: 0
 * /ur_hardware_interface/kinematics/forearm/x: -0.425
 * /ur_hardware_interface/kinematics/forearm/y: 0
 * /ur_hardware_interface/kinematics/forearm/yaw: 0
 * /ur_hardware_interface/kinematics/forearm/z: 0
 * /ur_hardware_interface/kinematics/hash: calib_12788084448...
 * /ur_hardware_interface/kinematics/shoulder/pitch: 0
 * /ur_hardware_interface/kinematics/shoulder/roll: 0
 * /ur_hardware_interface/kinematics/shoulder/x: 0
 * /ur_hardware_interface/kinematics/shoulder/y: 0
 * /ur_hardware_interface/kinematics/shoulder/yaw: 0
 * /ur_hardware_interface/kinematics/shoulder/z: 0.1625
 * /ur_hardware_interface/kinematics/upper_arm/pitch: 0
 * /ur_hardware_interface/kinematics/upper_arm/roll: 1.570796327
 * /ur_hardware_interface/kinematics/upper_arm/x: 0
 * /ur_hardware_interface/kinematics/upper_arm/y: 0
 * /ur_hardware_interface/kinematics/upper_arm/yaw: 0
 * /ur_hardware_interface/kinematics/upper_arm/z: 0
 * /ur_hardware_interface/kinematics/wrist_1/pitch: 0
 * /ur_hardware_interface/kinematics/wrist_1/roll: 0
 * /ur_hardware_interface/kinematics/wrist_1/x: -0.3922
 * /ur_hardware_interface/kinematics/wrist_1/y: 0
 * /ur_hardware_interface/kinematics/wrist_1/yaw: 0
 * /ur_hardware_interface/kinematics/wrist_1/z: 0.1333
 * /ur_hardware_interface/kinematics/wrist_2/pitch: 0
 * /ur_hardware_interface/kinematics/wrist_2/roll: 1.570796327
 * /ur_hardware_interface/kinematics/wrist_2/x: 0
 * /ur_hardware_interface/kinematics/wrist_2/y: -0.0997
 * /ur_hardware_interface/kinematics/wrist_2/yaw: 0
 * /ur_hardware_interface/kinematics/wrist_2/z: -2.0448811823e-11
 * /ur_hardware_interface/kinematics/wrist_3/pitch: 3.14159265359
 * /ur_hardware_interface/kinematics/wrist_3/roll: 1.57079632659
 * /ur_hardware_interface/kinematics/wrist_3/x: 0
 * /ur_hardware_interface/kinematics/wrist_3/y: 0.0996
 * /ur_hardware_interface/kinematics/wrist_3/yaw: 3.14159265359
 * /ur_hardware_interface/kinematics/wrist_3/z: -2.04283014801e-11
 * /ur_hardware_interface/output_recipe_file: /home/disl/catkin...
 * /ur_hardware_interface/reverse_port: 50001
 * /ur_hardware_interface/robot_ip: 192.168.0.101
 * /ur_hardware_interface/script_file: /home/disl/catkin...
 * /ur_hardware_interface/script_sender_port: 50002
 * /ur_hardware_interface/tf_prefix: 
 * /ur_hardware_interface/tool_baud_rate: 115200
 * /ur_hardware_interface/tool_parity: 0
 * /ur_hardware_interface/tool_rx_idle_chars: 1.5
 * /ur_hardware_interface/tool_stop_bits: 1
 * /ur_hardware_interface/tool_tx_idle_chars: 3.5
 * /ur_hardware_interface/tool_voltage: 0
 * /ur_hardware_interface/use_tool_communication: False
 * /vel_joint_traj_controller/action_monitor_rate: 20
 * /vel_joint_traj_controller/constraints/elbow_joint/goal: 0.1
 * /vel_joint_traj_controller/constraints/elbow_joint/trajectory: 0.1
 * /vel_joint_traj_controller/constraints/goal_time: 0.6
 * /vel_joint_traj_controller/constraints/shoulder_lift_joint/goal: 0.1
 * /vel_joint_traj_controller/constraints/shoulder_lift_joint/trajectory: 0.1
 * /vel_joint_traj_controller/constraints/shoulder_pan_joint/goal: 0.1
 * /vel_joint_traj_controller/constraints/shoulder_pan_joint/trajectory: 0.1
 * /vel_joint_traj_controller/constraints/stopped_velocity_tolerance: 0.05
 * /vel_joint_traj_controller/constraints/wrist_1_joint/goal: 0.1
 * /vel_joint_traj_controller/constraints/wrist_1_joint/trajectory: 0.1
 * /vel_joint_traj_controller/constraints/wrist_2_joint/goal: 0.1
 * /vel_joint_traj_controller/constraints/wrist_2_joint/trajectory: 0.1
 * /vel_joint_traj_controller/constraints/wrist_3_joint/goal: 0.1
 * /vel_joint_traj_controller/constraints/wrist_3_joint/trajectory: 0.1
 * /vel_joint_traj_controller/gains/elbow_joint/d: 0.1
 * /vel_joint_traj_controller/gains/elbow_joint/i: 0.05
 * /vel_joint_traj_controller/gains/elbow_joint/i_clamp: 1
 * /vel_joint_traj_controller/gains/elbow_joint/p: 5.0
 * /vel_joint_traj_controller/gains/shoulder_lift_joint/d: 0.1
 * /vel_joint_traj_controller/gains/shoulder_lift_joint/i: 0.05
 * /vel_joint_traj_controller/gains/shoulder_lift_joint/i_clamp: 1
 * /vel_joint_traj_controller/gains/shoulder_lift_joint/p: 5.0
 * /vel_joint_traj_controller/gains/shoulder_pan_joint/d: 0.1
 * /vel_joint_traj_controller/gains/shoulder_pan_joint/i: 0.05
 * /vel_joint_traj_controller/gains/shoulder_pan_joint/i_clamp: 1
 * /vel_joint_traj_controller/gains/shoulder_pan_joint/p: 5.0
 * /vel_joint_traj_controller/gains/wrist_1_joint/d: 0.1
 * /vel_joint_traj_controller/gains/wrist_1_joint/i: 0.05
 * /vel_joint_traj_controller/gains/wrist_1_joint/i_clamp: 1
 * /vel_joint_traj_controller/gains/wrist_1_joint/p: 5.0
 * /vel_joint_traj_controller/gains/wrist_2_joint/d: 0.1
 * /vel_joint_traj_controller/gains/wrist_2_joint/i: 0.05
 * /vel_joint_traj_controller/gains/wrist_2_joint/i_clamp: 1
 * /vel_joint_traj_controller/gains/wrist_2_joint/p: 5.0
 * /vel_joint_traj_controller/gains/wrist_3_joint/d: 0.1
 * /vel_joint_traj_controller/gains/wrist_3_joint/i: 0.05
 * /vel_joint_traj_controller/gains/wrist_3_joint/i_clamp: 1
 * /vel_joint_traj_controller/gains/wrist_3_joint/p: 5.0
 * /vel_joint_traj_controller/joints: ['shoulder_pan_jo...
 * /vel_joint_traj_controller/state_publish_rate: 500
 * /vel_joint_traj_controller/stop_trajectory_duration: 0.5
 * /vel_joint_traj_controller/type: velocity_controll...
 * /vel_joint_traj_controller/velocity_ff/elbow_joint: 1.0
 * /vel_joint_traj_controller/velocity_ff/shoulder_lift_joint: 1.0
 * /vel_joint_traj_controller/velocity_ff/shoulder_pan_joint: 1.0
 * /vel_joint_traj_controller/velocity_ff/wrist_1_joint: 1.0
 * /vel_joint_traj_controller/velocity_ff/wrist_2_joint: 1.0
 * /vel_joint_traj_controller/velocity_ff/wrist_3_joint: 1.0

NODES
  /
    controller_stopper (controller_stopper/node)
    robot_state_publisher (robot_state_publisher/robot_state_publisher)
    ros_control_controller_spawner (controller_manager/spawner)
    ros_control_stopped_spawner (controller_manager/spawner)
    ur_hardware_interface (ur_robot_driver/ur_robot_driver_node)
  /ur_hardware_interface/
    ur_robot_state_helper (ur_robot_driver/robot_state_helper)

auto-starting new master
process[master]: started with pid [10409]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to bf35b3a6-55d7-11eb-9fa1-14b31f0f1f99
process[rosout-1]: started with pid [10420]
started core service [/rosout]
process[robot_state_publisher-2]: started with pid [10427]
process[ur_hardware_interface-3]: started with pid [10428]
process[ros_control_controller_spawner-4]: started with pid [10429]
process[ros_control_stopped_spawner-5]: started with pid [10436]
[ INFO] [1610567068.847790022]: Initializing dashboard client
process[controller_stopper-6]: started with pid [10444]
process[ur_hardware_interface/ur_robot_state_helper-7]: started with pid [10445]
[ INFO] [1610567068.857164476]: Initializing urdriver
Warning: No realtime capabilities found. Consider using a realtime system for better performance
         at line 396 in /tmp/binarydeb/ros-melodic-ur-client-library-0.1.1/include/ur_client_library/comm/pipeline.h
[ INFO] [1610567068.861816453]: Waiting for controller manager service to come up on /controller_manager/switch_controller
[ INFO] [1610567068.863409743]: waitForService: Service [/controller_manager/switch_controller] has not been advertised, waiting...
[INFO] [1610567069.120620]: Controller Spawner: Waiting for service controller_manager/load_controller
[INFO] [1610567069.124517]: Controller Spawner: Waiting for service controller_manager/load_controller
Error:   The calibration parameters of the connected robot don't match the ones from the given kinematics config file. Please be aware that this can lead to critical inaccuracies of tcp positions. Use the ur_calibration tool to extract the correct calibration from the robot and pass that into the description. See [https://github.com/UniversalRobots/Universal_Robots_ROS_Driver#extract-calibration-information] for details.
         at line 45 in /tmp/binarydeb/ros-melodic-ur-client-library-0.1.1/src/ur/calibration_checker.cpp
Warning: No realtime capabilities found. Consider using a realtime system for better performance
         at line 396 in /tmp/binarydeb/ros-melodic-ur-client-library-0.1.1/include/ur_client_library/comm/pipeline.h
Warning: No realtime capabilities found. Consider using a realtime system for better performance
         at line 396 in /tmp/binarydeb/ros-melodic-ur-client-library-0.1.1/include/ur_client_library/comm/pipeline.h
[ INFO] [1610567071.390659360]: Loaded ur_robot_driver hardware_interface
[ INFO] [1610567071.422350421]: waitForService: Service [/controller_manager/switch_controller] is now available.
[ INFO] [1610567071.422372626]: Service available.
[ INFO] [1610567071.422383633]: Waiting for controller list service to come up on /controller_manager/list_controllers
[ INFO] [1610567071.423025306]: Service available.
[INFO] [1610567071.555239]: Controller Spawner: Waiting for service controller_manager/switch_controller
[INFO] [1610567071.555815]: Controller Spawner: Waiting for service controller_manager/switch_controller
[INFO] [1610567071.556966]: Controller Spawner: Waiting for service controller_manager/unload_controller
[INFO] [1610567071.557515]: Controller Spawner: Waiting for service controller_manager/unload_controller
[INFO] [1610567071.558677]: Loading controller: joint_state_controller
[INFO] [1610567071.559055]: Loading controller: pos_joint_traj_controller
[INFO] [1610567071.564861]: Loading controller: scaled_pos_joint_traj_controller
[INFO] [1610567071.582825]: Loading controller: joint_group_vel_controller
[INFO] [1610567071.600931]: Loading controller: speed_scaling_state_controller
[INFO] [1610567071.604805]: Controller Spawner: Loaded controllers: pos_joint_traj_controller, joint_group_vel_controller
[INFO] [1610567071.606776]: Loading controller: force_torque_sensor_controller
[INFO] [1610567071.610747]: Controller Spawner: Loaded controllers: joint_state_controller, scaled_pos_joint_traj_controller, speed_scaling_state_controller, force_torque_sensor_controller
[INFO] [1610567071.612684]: Started controllers: joint_state_controller, scaled_pos_joint_traj_controller, speed_scaling_state_controller, force_torque_sensor_controller
[ INFO] [1610567071.679462224]: Robot's safety mode is now NORMAL
[ INFO] [1610567071.680371568]: Robot mode is now RUNNING

The PC connection program is loaded on the Run tab. The program is played:

[ INFO] [1610567077.311152079]: Robot requested program
[ INFO] [1610567077.311314302]: Sent program to robot
[ INFO] [1610567077.498823371]: Robot ready to receive control commands.

After pressing execute in the RVIZ GUI:

[ERROR] [1610567097.697189061]: Can't accept new action goals. Controller is not running.

Terminal 2: moveit_planning_execution

What does the setup look like and what are the objectives?

Input: disl@disl-Alienware:~$ roslaunch ur5_e_moveit_config ur5_e_moveit_planning_execution.launch Output:

... logging to /home/disl/.ros/log/68dd6994-55d8-11eb-9fa1-14b31f0f1f99/roslaunch-disl-Alienware-10778.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://disl-Alienware:44133/

SUMMARY
========

PARAMETERS
 * /move_group/allow_trajectory_execution: True
 * /move_group/capabilities: move_group/MoveGr...
 * /move_group/controller_list: [{'default': True...
 * /move_group/endeffector/planner_configs: ['SBLkConfigDefau...
 * /move_group/jiggle_fraction: 0.05
 * /move_group/manipulator/default_planner_config: RRTConnectkConfig...
 * /move_group/manipulator/longest_valid_segment_fraction: 0.01
 * /move_group/manipulator/planner_configs: ['SBLkConfigDefau...
 * /move_group/max_range: 5.0
 * /move_group/max_safe_path_cost: 1
 * /move_group/moveit_controller_manager: moveit_simple_con...
 * /move_group/moveit_manage_controllers: True
 * /move_group/octomap_resolution: 0.025
 * /move_group/planner_configs/BKPIECEkConfigDefault/border_fraction: 0.9
 * /move_group/planner_configs/BKPIECEkConfigDefault/failed_expansion_score_factor: 0.5
 * /move_group/planner_configs/BKPIECEkConfigDefault/min_valid_path_fraction: 0.5
 * /move_group/planner_configs/BKPIECEkConfigDefault/range: 0.0
 * /move_group/planner_configs/BKPIECEkConfigDefault/type: geometric::BKPIECE
 * /move_group/planner_configs/ESTkConfigDefault/goal_bias: 0.05
 * /move_group/planner_configs/ESTkConfigDefault/range: 0.0
 * /move_group/planner_configs/ESTkConfigDefault/type: geometric::EST
 * /move_group/planner_configs/KPIECEkConfigDefault/border_fraction: 0.9
 * /move_group/planner_configs/KPIECEkConfigDefault/failed_expansion_score_factor: 0.5
 * /move_group/planner_configs/KPIECEkConfigDefault/goal_bias: 0.05
 * /move_group/planner_configs/KPIECEkConfigDefault/min_valid_path_fraction: 0.5
 * /move_group/planner_configs/KPIECEkConfigDefault/range: 0.0
 * /move_group/planner_configs/KPIECEkConfigDefault/type: geometric::KPIECE
 * /move_group/planner_configs/LBKPIECEkConfigDefault/border_fraction: 0.9
 * /move_group/planner_configs/LBKPIECEkConfigDefault/min_valid_path_fraction: 0.5
 * /move_group/planner_configs/LBKPIECEkConfigDefault/range: 0.0
 * /move_group/planner_configs/LBKPIECEkConfigDefault/type: geometric::LBKPIECE
 * /move_group/planner_configs/PRMkConfigDefault/max_nearest_neighbors: 10
 * /move_group/planner_configs/PRMkConfigDefault/type: geometric::PRM
 * /move_group/planner_configs/PRMstarkConfigDefault/type: geometric::PRMstar
 * /move_group/planner_configs/RRTConnectkConfigDefault/range: 0.0
 * /move_group/planner_configs/RRTConnectkConfigDefault/type: geometric::RRTCon...
 * /move_group/planner_configs/RRTkConfigDefault/goal_bias: 0.05
 * /move_group/planner_configs/RRTkConfigDefault/range: 0.0
 * /move_group/planner_configs/RRTkConfigDefault/type: geometric::RRT
 * /move_group/planner_configs/RRTstarkConfigDefault/delay_collision_checking: 1
 * /move_group/planner_configs/RRTstarkConfigDefault/goal_bias: 0.05
 * /move_group/planner_configs/RRTstarkConfigDefault/range: 0.0
 * /move_group/planner_configs/RRTstarkConfigDefault/type: geometric::RRTstar
 * /move_group/planner_configs/SBLkConfigDefault/range: 0.0
 * /move_group/planner_configs/SBLkConfigDefault/type: geometric::SBL
 * /move_group/planner_configs/TRRTkConfigDefault/frountierNodeRatio: 0.1
 * /move_group/planner_configs/TRRTkConfigDefault/frountier_threshold: 0.0
 * /move_group/planner_configs/TRRTkConfigDefault/goal_bias: 0.05
 * /move_group/planner_configs/TRRTkConfigDefault/init_temperature: 10e-6
 * /move_group/planner_configs/TRRTkConfigDefault/k_constant: 0.0
 * /move_group/planner_configs/TRRTkConfigDefault/max_states_failed: 10
 * /move_group/planner_configs/TRRTkConfigDefault/min_temperature: 10e-10
 * /move_group/planner_configs/TRRTkConfigDefault/range: 0.0
 * /move_group/planner_configs/TRRTkConfigDefault/temp_change_factor: 2.0
 * /move_group/planner_configs/TRRTkConfigDefault/type: geometric::TRRT
 * /move_group/planning_plugin: ompl_interface/OM...
 * /move_group/planning_scene_monitor/publish_geometry_updates: True
 * /move_group/planning_scene_monitor/publish_planning_scene: True
 * /move_group/planning_scene_monitor/publish_state_updates: True
 * /move_group/planning_scene_monitor/publish_transforms_updates: True
 * /move_group/request_adapters: default_planner_r...
 * /move_group/start_state_max_bounds_error: 0.1
 * /move_group/trajectory_execution/allowed_execution_duration_scaling: 1.2
 * /move_group/trajectory_execution/allowed_goal_duration_margin: 0.5
 * /move_group/trajectory_execution/execution_duration_monitoring: False
 * /move_group/use_controller_manager: False
 * /robot_description_kinematics/manipulator/kinematics_solver: kdl_kinematics_pl...
 * /robot_description_kinematics/manipulator/kinematics_solver_attempts: 3
 * /robot_description_kinematics/manipulator/kinematics_solver_search_resolution: 0.005
 * /robot_description_kinematics/manipulator/kinematics_solver_timeout: 0.005
 * /robot_description_planning/joint_limits/elbow_joint/has_acceleration_limits: True
 * /robot_description_planning/joint_limits/elbow_joint/has_velocity_limits: True
 * /robot_description_planning/joint_limits/elbow_joint/max_acceleration: 3.14
 * /robot_description_planning/joint_limits/elbow_joint/max_velocity: 3.14
 * /robot_description_planning/joint_limits/shoulder_lift_joint/has_acceleration_limits: True
 * /robot_description_planning/joint_limits/shoulder_lift_joint/has_velocity_limits: True
 * /robot_description_planning/joint_limits/shoulder_lift_joint/max_acceleration: 3.14
 * /robot_description_planning/joint_limits/shoulder_lift_joint/max_velocity: 3.14
 * /robot_description_planning/joint_limits/shoulder_pan_joint/has_acceleration_limits: True
 * /robot_description_planning/joint_limits/shoulder_pan_joint/has_velocity_limits: True
 * /robot_description_planning/joint_limits/shoulder_pan_joint/max_acceleration: 3.14
 * /robot_description_planning/joint_limits/shoulder_pan_joint/max_velocity: 3.14
 * /robot_description_planning/joint_limits/wrist_1_joint/has_acceleration_limits: True
 * /robot_description_planning/joint_limits/wrist_1_joint/has_velocity_limits: True
 * /robot_description_planning/joint_limits/wrist_1_joint/max_acceleration: 3.14
 * /robot_description_planning/joint_limits/wrist_1_joint/max_velocity: 6.28
 * /robot_description_planning/joint_limits/wrist_2_joint/has_acceleration_limits: True
 * /robot_description_planning/joint_limits/wrist_2_joint/has_velocity_limits: True
 * /robot_description_planning/joint_limits/wrist_2_joint/max_acceleration: 3.14
 * /robot_description_planning/joint_limits/wrist_2_joint/max_velocity: 6.28
 * /robot_description_planning/joint_limits/wrist_3_joint/has_acceleration_limits: True
 * /robot_description_planning/joint_limits/wrist_3_joint/has_velocity_limits: True
 * /robot_description_planning/joint_limits/wrist_3_joint/max_acceleration: 3.14
 * /robot_description_planning/joint_limits/wrist_3_joint/max_velocity: 6.28
 * /robot_description_semantic: <?xml version="1....
 * /rosdistro: melodic
 * /rosversion: 1.14.10

NODES
  /
    move_group (moveit_ros_move_group/move_group)

ROS_MASTER_URI=http://localhost:11311

process[move_group-1]: started with pid [10793]
[ INFO] [1610567366.072080908]: Loading robot model 'ur5e'...
[ WARN] [1610567366.072899131]: Skipping virtual joint 'fixed_base' because its child frame 'base_link' does not match the URDF frame 'world'
[ INFO] [1610567366.072922223]: No root/virtual joint specified in SRDF. Assuming fixed joint
[ WARN] [1610567366.113852415]: Kinematics solver doesn't support #attempts anymore, but only a timeout.
Please remove the parameter '/robot_description_kinematics/manipulator/kinematics_solver_attempts' from your configuration.
[ INFO] [1610567366.155563754]: Publishing maintained planning scene on 'monitored_planning_scene'
[ INFO] [1610567366.156951537]: MoveGroup debug mode is OFF
Starting planning scene monitors...
[ INFO] [1610567366.156971609]: Starting planning scene monitor
[ INFO] [1610567366.157996582]: Listening to '/planning_scene'
[ INFO] [1610567366.158014202]: Starting world geometry update monitor for collision objects, attached objects, octomap updates.
[ INFO] [1610567366.159131456]: Listening to '/collision_object'
[ INFO] [1610567366.160311162]: Listening to '/planning_scene_world' for planning scene world geometry
[ERROR] [1610567366.160814179]: Failed to find 3D sensor plugin parameters for octomap generation
[ INFO] [1610567366.167188565]: Listening to '/attached_collision_object' for attached collision objects
Planning scene monitors started.
[ INFO] [1610567366.187087600]: Initializing OMPL interface using ROS parameters
[ INFO] [1610567366.201235076]: Using planning interface 'OMPL'
[ INFO] [1610567366.203766652]: Param 'default_workspace_bounds' was not set. Using default value: 10
[ INFO] [1610567366.204032360]: Param 'start_state_max_bounds_error' was set to 0.1
[ INFO] [1610567366.204249922]: Param 'start_state_max_dt' was not set. Using default value: 0.5
[ INFO] [1610567366.204527073]: Param 'start_state_max_dt' was not set. Using default value: 0.5
[ INFO] [1610567366.204716888]: Param 'jiggle_fraction' was set to 0.05
[ INFO] [1610567366.204898002]: Param 'max_sampling_attempts' was not set. Using default value: 100
[ INFO] [1610567366.204923842]: Using planning request adapter 'Add Time Parameterization'
[ INFO] [1610567366.204932865]: Using planning request adapter 'Fix Workspace Bounds'
[ INFO] [1610567366.204940602]: Using planning request adapter 'Fix Start State Bounds'
[ INFO] [1610567366.204950314]: Using planning request adapter 'Fix Start State In Collision'
[ INFO] [1610567366.204959895]: Using planning request adapter 'Fix Start State Path Constraints'
[ INFO] [1610567366.478005927]: Added FollowJointTrajectory controller for /pos_joint_traj_controller
[ INFO] [1610567366.478107914]: Returned 1 controllers in list
[ INFO] [1610567366.485361077]: Trajectory execution is managing controllers
Loading 'move_group/ApplyPlanningSceneService'...
Loading 'move_group/ClearOctomapService'...
Loading 'move_group/MoveGroupCartesianPathService'...
Loading 'move_group/MoveGroupExecuteTrajectoryAction'...
Loading 'move_group/MoveGroupGetPlanningSceneService'...
Loading 'move_group/MoveGroupKinematicsService'...
Loading 'move_group/MoveGroupMoveAction'...
Loading 'move_group/MoveGroupPickPlaceAction'...
Loading 'move_group/MoveGroupPlanService'...
Loading 'move_group/MoveGroupQueryPlannersService'...
Loading 'move_group/MoveGroupStateValidationService'...
[ INFO] [1610567366.523164743]: 

********************************************************
* MoveGroup using: 
*     - ApplyPlanningSceneService
*     - ClearOctomapService
*     - CartesianPathService
*     - ExecuteTrajectoryAction
*     - GetPlanningSceneService
*     - KinematicsService
*     - MoveAction
*     - PickPlaceAction
*     - MotionPlanService
*     - QueryPlannersService
*     - StateValidationService
********************************************************

[ INFO] [1610567366.523220386]: MoveGroup context using planning plugin ompl_interface/OMPLPlanner
[ INFO] [1610567366.523239414]: MoveGroup context initialization complete

You can start planning now!

The robot plans a trajectory to the new state when the plan button is pressed in RVIZ.

[ INFO] [1610567487.568492431]: Planning request received for MoveGroup action. Forwarding to planning pipeline.
[ INFO] [1610567487.569638050]: Planner configuration 'manipulator[RRTConnectkConfigDefault]' will use planner 'geometric::RRTConnect'. Additional configuration parameters will be set when the planner is constructed.
[ INFO] [1610567487.570349965]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567487.570529982]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567487.571137338]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567487.571350957]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567487.581331960]: manipulator[RRTConnectkConfigDefault]: Created 4 states (2 start + 2 goal)
[ INFO] [1610567487.581387746]: manipulator[RRTConnectkConfigDefault]: Created 5 states (2 start + 3 goal)
[ INFO] [1610567487.582463143]: manipulator[RRTConnectkConfigDefault]: Created 5 states (2 start + 3 goal)
[ INFO] [1610567487.582576419]: manipulator[RRTConnectkConfigDefault]: Created 4 states (2 start + 2 goal)
[ INFO] [1610567487.582670642]: ParallelPlan::solve(): Solution found by one or more threads in 0.012587 seconds
[ INFO] [1610567487.582950069]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567487.583004919]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567487.583054910]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567487.583087309]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567487.584154016]: manipulator[RRTConnectkConfigDefault]: Created 5 states (2 start + 3 goal)
[ INFO] [1610567487.584209504]: manipulator[RRTConnectkConfigDefault]: Created 4 states (2 start + 2 goal)
[ INFO] [1610567487.584309232]: manipulator[RRTConnectkConfigDefault]: Created 4 states (2 start + 2 goal)
[ INFO] [1610567487.584345647]: manipulator[RRTConnectkConfigDefault]: Created 5 states (2 start + 3 goal)
[ INFO] [1610567487.584414119]: ParallelPlan::solve(): Solution found by one or more threads in 0.001520 seconds
[ INFO] [1610567487.584560224]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567487.584597852]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567487.586301943]: manipulator[RRTConnectkConfigDefault]: Created 4 states (2 start + 2 goal)
[ INFO] [1610567487.586460553]: manipulator[RRTConnectkConfigDefault]: Created 5 states (3 start + 2 goal)
[ INFO] [1610567487.586536459]: ParallelPlan::solve(): Solution found by one or more threads in 0.002009 seconds
[ INFO] [1610567487.591944317]: SimpleSetup: Path simplification took 0.005280 seconds and changed from 3 to 2 states
[ INFO] [1610567515.312616903]: Planning request received for MoveGroup action. Forwarding to planning pipeline.
[ INFO] [1610567515.313054051]: Planner configuration 'manipulator[RRTConnectkConfigDefault]' will use planner 'geometric::RRTConnect'. Additional configuration parameters will be set when the planner is constructed.
[ INFO] [1610567515.313323014]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567515.313420330]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567515.313495531]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567515.313710302]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567515.324422859]: manipulator[RRTConnectkConfigDefault]: Created 5 states (2 start + 3 goal)
[ INFO] [1610567515.324569120]: manipulator[RRTConnectkConfigDefault]: Created 4 states (2 start + 2 goal)
[ INFO] [1610567515.324628917]: manipulator[RRTConnectkConfigDefault]: Created 4 states (2 start + 2 goal)
[ INFO] [1610567515.324984194]: manipulator[RRTConnectkConfigDefault]: Created 4 states (2 start + 2 goal)
[ INFO] [1610567515.325031908]: ParallelPlan::solve(): Solution found by one or more threads in 0.011801 seconds
[ INFO] [1610567515.325208841]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567515.325233950]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567515.325267179]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567515.326044616]: manipulator[RRTConnectkConfigDefault]: Created 4 states (2 start + 2 goal)
[ INFO] [1610567515.326533254]: manipulator[RRTConnectkConfigDefault]: Created 5 states (2 start + 3 goal)
[ INFO] [1610567515.326577264]: manipulator[RRTConnectkConfigDefault]: Created 4 states (2 start + 2 goal)
[ INFO] [1610567515.326831706]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567515.328497924]: manipulator[RRTConnectkConfigDefault]: Created 4 states (2 start + 2 goal)
[ INFO] [1610567515.328922964]: ParallelPlan::solve(): Solution found by one or more threads in 0.003767 seconds
[ INFO] [1610567515.329103229]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567515.329194564]: manipulator[RRTConnectkConfigDefault]: Starting planning with 1 states already in datastructure
[ INFO] [1610567515.330481563]: manipulator[RRTConnectkConfigDefault]: Created 5 states (2 start + 3 goal)
[ INFO] [1610567515.330599362]: manipulator[RRTConnectkConfigDefault]: Created 4 states (2 start + 2 goal)
[ INFO] [1610567515.330677170]: ParallelPlan::solve(): Solution found by one or more threads in 0.001639 seconds
[ INFO] [1610567515.333932393]: SimpleSetup: Path simplification took 0.003210 seconds and changed from 3 to 2 states

The following appears when execute is pressed:

[ INFO] [1610567749.572453467]: Execution request received
[ WARN] [1610567749.575320229]: Controller /pos_joint_traj_controller failed with error INVALID_GOAL: 
[ WARN] [1610567749.575381591]: Controller handle /pos_joint_traj_controller reports status FAILED
[ INFO] [1610567749.575404941]: Completed trajectory execution with status FAILED ...
[ INFO] [1610567749.575446235]: Execution completed: FAILED

Terminal 3: moveit_rviz

What does the setup look like and what are the objectives?

Input: disl@disl-Alienware:~$ roslaunch ur5_e_moveit_config moveit_rviz.launch config:=true Output:

... logging to /home/disl/.ros/log/68dd6994-55d8-11eb-9fa1-14b31f0f1f99/roslaunch-disl-Alienware-10832.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://disl-Alienware:41711/

SUMMARY
========

PARAMETERS
 * /rosdistro: melodic
 * /rosversion: 1.14.10
 * /rviz_disl_Alienware_10832_3193070364466814833/manipulator/kinematics_solver: kdl_kinematics_pl...
 * /rviz_disl_Alienware_10832_3193070364466814833/manipulator/kinematics_solver_attempts: 3
 * /rviz_disl_Alienware_10832_3193070364466814833/manipulator/kinematics_solver_search_resolution: 0.005
 * /rviz_disl_Alienware_10832_3193070364466814833/manipulator/kinematics_solver_timeout: 0.005

NODES
  /
    rviz_disl_Alienware_10832_3193070364466814833 (rviz/rviz)

ROS_MASTER_URI=http://localhost:11311

process[rviz_disl_Alienware_10832_3193070364466814833-1]: started with pid [10847]
[ INFO] [1610567435.812448444]: rviz version 1.13.15
[ INFO] [1610567435.812489597]: compiled against Qt version 5.9.5
[ INFO] [1610567435.812501558]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1610567435.815073907]: Forcing OpenGl version 0.
[ INFO] [1610567436.126810284]: Stereo is NOT SUPPORTED
[ INFO] [1610567436.126888819]: OpenGl version: 3.1 (GLSL 1.4).
[ INFO] [1610567439.343985600]: Loading robot model 'ur5e'...
[ WARN] [1610567439.344022688]: Skipping virtual joint 'fixed_base' because its child frame 'base_link' does not match the URDF frame 'world'
[ INFO] [1610567439.344041725]: No root/virtual joint specified in SRDF. Assuming fixed joint
[ WARN] [1610567439.357535066]: Kinematics solver doesn't support #attempts anymore, but only a timeout.
Please remove the parameter '/rviz_disl_Alienware_10832_3193070364466814833/manipulator/kinematics_solver_attempts' from your configuration.
[ INFO] [1610567439.420748867]: Starting planning scene monitor
[ INFO] [1610567439.422401635]: Listening to '/move_group/monitored_planning_scene'
QObject::connect: Cannot queue arguments of type 'QVector<int>'
(Make sure 'QVector<int>' is registered using qRegisterMetaType().)
QObject::connect: Cannot queue arguments of type 'QVector<int>'
(Make sure 'QVector<int>' is registered using qRegisterMetaType().)
[ INFO] [1610567439.646497431]: Constructing new MoveGroup connection for group 'manipulator' in namespace ''
[ INFO] [1610567440.696956330]: Ready to take commands for planning group manipulator.
[ INFO] [1610567440.697010611]: Looking around: no
[ INFO] [1610567440.697032565]: Replanning: no
[ INFO] [1610567440.728937591]: Marker 'EE:goal_ee_link/10': mesh_use_embedded_materials is ignored.

The robot appears in the GUI (matches the physical position of the robot) and a trajectory to the new state is planned. image The following appears when execute is pressed:

[ INFO] [1610567749.578187378]: ABORTED: Solution found but controller failed during execution
gavanderhoorn commented 3 years ago

As you can see in the log:

...
[INFO] [1610567071.604805]: Controller Spawner: Loaded controllers: pos_joint_traj_controller, joint_group_vel_controller
[INFO] [1610567071.606776]: Loading controller: force_torque_sensor_controller
[INFO] [1610567071.610747]: Controller Spawner: Loaded controllers: joint_state_controller, scaled_pos_joint_traj_controller, speed_scaling_state_controller, force_torque_sensor_controller
[INFO] [1610567071.612684]: Started controllers: joint_state_controller, scaled_pos_joint_traj_controller, speed_scaling_state_controller, force_torque_sensor_controller
...

the following controllers are only loaded: pos_joint_traj_controller, joint_group_vel_controller, while these controllers are loaded and started: joint_state_controller, scaled_pos_joint_traj_controller, speed_scaling_state_controller, force_torque_sensor_controller.

So you have two options:

  1. start the pos_joint_traj_controller, or (and this would be better)
  2. change the name in the controller_list of your MoveIt config to scaled_pos_joint_traj_controller

in general you'll want to use the scaled versions of all these controllers (if it exists) as those controllers will take the state of the speed slider (on the TP) and the automatic internal scaling of the UR controller into account.

Schellenberg3 commented 3 years ago

Thank you @gavanderhoorn, this seems to have been my issue! With scaled_pos_joint_traj_controller we were able to get the robot to move.

Aishwaryak2998 commented 1 year ago

@gavanderhoorn Hey, I seem to have the same problem you pointed out. Two of the controllers are only loaded and not loaded+started. I checked the name in the controller_list and it is scaled_pos_joint_traj_controller. The problem still unfortunately persists.

k-ish0212 commented 1 year ago

Im getting same issue..

puznik commented 2 weeks ago

This solved it for me: https://github.com/UniversalRobots/Universal_Robots_ROS_Driver/issues/4 Needed to press play on the robot tablet to actually run the program.