Universal_Robots_ROS_Driver: Not able to control the UR10e, issue with controllers
Hi, Just recently I started to use the new ur driver for my ur10e. I followed the steps of setting up the UR robot driver for UR10e. After installing the external control.urcap
and also a bunch of relevant ROS packages, I am able to run the ur_robot_driver
’s ur10e bringup. Iam able to visualize the current robot state with RVIz.
However the problem comes when I send in a planned trajectory to the ur_robot_driver
from moveit (melodic). My “ros PC” is not able to control the robot. Here’s the printout.
These are the printouts during startup
[INFO] [1575439049.914691]: Loading controller: speed_scaling_state_controller
[INFO] [1575439049.922537]: Loading controller: force_torque_sensor_controller
[ERROR] [1575439049.925483887]: Could not load controller 'force_torque_sensor_controller' because controller type 'force_torque_sensor_controller/ForceTorqueSensorController' does not exist.
[ERROR] [1575439049.925529312]: Use 'rosservice call controller_manager/list_controller_types' to get the available types
[ INFO] [1575439049.948150506]: Robot's safety mode is now NORMAL
[ INFO] [1575439049.949624652]: Robot mode is now RUNNING
[ERROR] [1575439050.925985]: Failed to load force_torque_sensor_controller
[INFO] [1575439050.927156]: Controller Spawner: Loaded controllers: joint_state_controller, scaled_pos_traj_controller, speed_scaling_state_controller
[INFO] [1575439050.930308]: Started controllers: joint_state_controller, scaled_pos_traj_controller, speed_scaling_state_controller
[ INFO] [1575439051.858623603]: Loading robot model 'ur10e'...
[ WARN] [1575439051.858674367]: Skipping virtual joint 'fixed_base' because its child frame 'base_link' does not match the URDF frame 'world'
[ INFO] [1575439051.858696881]: No root/virtual joint specified in SRDF. Assuming fixed joint
[ WARN] [1575439051.898240782]: Kinematics solver doesn't support #attempts anymore, but only a timeout.
Please remove the parameter '/rviz_dp2workcell_NUC7i5BNH_10527_4730851679228347204/manipulator/kinematics_solver_attempts' from your configuration.
[ INFO] [1575439052.027892145]: Starting planning scene monitor
[ INFO] [1575439052.030964174]: Listening to '/move_group/monitored_planning_scene'
[ INFO] [1575439052.032057688]: waitForService: Service [/get_planning_scene] has not been advertised, waiting...
[ WARN] [1575439053.092445076]: Waiting for /follow_joint_trajectory to come up
[ INFO] [1575439057.033862535]: Failed to call service get_planning_scene, have you launched move_group? at /tmp/binarydeb/ros-melodic-moveit-ros-planning-1.0.2/planning_scene_monitor/src/planning_scene_monitor.cpp:495
[ INFO] [1575439057.651705875]: Constructing new MoveGroup connection for group 'manipulator' in namespace ''
[ WARN] [1575439059.092661121]: Waiting for /follow_joint_trajectory to come up
[ERROR] [1575439064.552758494]: An error has occurred during frame callback: Error occured during execution of the processing block! See the log for more info
[ERROR] [1575439065.092905191]: Action client not connected: /follow_joint_trajectory
These are the printout when a trajectory srv is received
[ INFO] [1575437926.650551896]: RRTConnect: Starting planning with 1 states already in datastructure
[ INFO] [1575437926.650757552]: RRTConnect: Starting planning with 1 states already in datastructure
[ INFO] [1575437926.653505540]: RRTConnect: Created 5 states (3 start + 2 goal)
[ INFO] [1575437926.653893412]: RRTConnect: Created 4 states (2 start + 2 goal)
[ INFO] [1575437926.667716032]: RRTConnect: Created 5 states (2 start + 3 goal)
[ INFO] [1575437926.669611105]: RRTConnect: Created 7 states (3 start + 4 goal)
[ INFO] [1575437926.669743583]: ParallelPlan::solve(): Solution found by one or more threads in 0.022276 seconds
[ INFO] [1575437926.671988970]: RRTConnect: Starting planning with 1 states already in datastructure
[ INFO] [1575437926.688229656]: RRTConnect: Created 7 states (3 start + 4 goal)
[ INFO] [1575437926.688540964]: ParallelPlan::solve(): Solution found by one or more threads in 0.018659 seconds
[ INFO] [1575437926.707053023]: SimpleSetup: Path simplification took 0.018263 seconds and changed from 3 to 2 states
[ INFO] [1575437926.710855373]: [Arm Controller: /] Executing Joint Space Motion...
[ INFO] [1575437926.713613360]: Execution request received
[ INFO] [1575437926.713994353]: Returned 0 controllers in list
[ERROR] [1575437926.714121772]: Unable to identify any set of controllers that can actuate the specified joints: [ elbow_joint shoulder_lift_joint shoulder_pan_joint wrist_1_joint wrist_2_joint wrist_3_joint ]
[ERROR] [1575437926.714171562]: Known controllers and their joints:
[ INFO] [1575437926.714858177]: ABORTED: Solution found but controller failed during execution
[ERROR] [1575437926.715035262]: Failed in executing planned motion path
[ERROR] [1575437926.715196832]:
While follow the steps, the problem here seems to be on the ros controller node. Also, fyi i used my same code and it works while using the depreciated ur_modern_driver PR with minimal setup,
Hope someone can help me with this issue. Thanks!!!
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 31 (1 by maintainers)
I fixed it using the Troubleshooting section in the ReadMe:
scaled_pos_traj_controller/follow_joint_trajectory
Hi,dear all,I have a problem,my robot is UR10e,I followed the steps above to modify the controllers.yalm file
But ,when I moved the rviz, the real Hardware cannot move.
terminal1:roslaunch ur_robot_driver ur10e_bringup.launch robot_ip:=192.168.1.10
ROS_MASTER_URI=http://localhost:11311
process[robot_state_publisher-1]: started with pid [8384] process[ur_hardware_interface-2]: started with pid [8385] process[ros_control_controller_spawner-3]: started with pid [8386] [ INFO] [1592797670.344381530]: Main thread: SCHED_FIFO OK [ INFO] [1592797670.344479463]: Main thread priority is 99 process[ros_control_stopped_spawner-4]: started with pid [8408] [ INFO] [1592797670.356464561]: Initializing dashboard client [ INFO] [1592797670.358266500]: Connected: Universal Robots Dashboard Server
process[controller_stopper-5]: started with pid [8443] [ INFO] [1592797670.373468917]: Initializing urdriver [ INFO] [1592797670.374089713]: Checking if calibration data matches connected robot. [ INFO] [1592797670.374689783]: Producer thread: SCHED_FIFO OK [ INFO] [1592797670.374725112]: Thread priority is 99 process[ur_hardware_interface/ur_robot_state_helper-6]: started with pid [8465] [ INFO] [1592797670.383746952]: Waiting for controller manager service to come up on /controller_manager/switch_controller [ INFO] [1592797670.384315726]: waitForService: Service [/controller_manager/switch_controller] has not been advertised, waiting… [ERROR] [1592797670.732675171]: 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 [TODO Link to documentation] for details. [INFO] [1592797670.827828]: Controller Spawner: Waiting for service controller_manager/load_controller [INFO] [1592797670.856582]: Controller Spawner: Waiting for service controller_manager/load_controller [ INFO] [1592797671.434940121]: Producer thread: SCHED_FIFO OK [ INFO] [1592797671.435011387]: Thread priority is 99 [ INFO] [1592797671.791331044]: Setting up RTDE communication with frequency 500.000000 [ INFO] [1592797672.829602427]: Producer thread: SCHED_FIFO OK [ INFO] [1592797672.829628161]: Thread priority is 99 [ INFO] [1592797672.829863525]: Loaded ur_robot_driver hardware_interface [ INFO] [1592797672.885147966]: waitForService: Service [/controller_manager/switch_controller] is now available. [ INFO] [1592797672.885178731]: Service available. [ INFO] [1592797672.885193496]: Waiting for controller list service to come up on /controller_manager/list_controllers [ INFO] [1592797672.885982928]: Service available. [INFO] [1592797672.947910]: Controller Spawner: Waiting for service controller_manager/switch_controller [INFO] [1592797672.949247]: Controller Spawner: Waiting for service controller_manager/unload_controller [INFO] [1592797672.950428]: Loading controller: joint_state_controller [INFO] [1592797672.957540]: Loading controller: scaled_pos_traj_controller [INFO] [1592797672.976145]: Controller Spawner: Waiting for service controller_manager/switch_controller [INFO] [1592797672.977477]: Controller Spawner: Waiting for service controller_manager/unload_controller [INFO] [1592797672.978721]: Loading controller: pos_traj_controller [INFO] [1592797673.007316]: Loading controller: speed_scaling_state_controller [INFO] [1592797673.046392]: Loading controller: joint_group_vel_controller [ INFO] [1592797673.047499093]: Robot’s safety mode is now NORMAL [ INFO] [1592797673.047703390]: Robot mode is now RUNNING [INFO] [1592797673.051587]: Loading controller: force_torque_sensor_controller [INFO] [1592797673.059231]: Controller Spawner: Loaded controllers: pos_traj_controller, joint_group_vel_controller [INFO] [1592797673.063381]: Controller Spawner: Loaded controllers: joint_state_controller, scaled_pos_traj_controller, speed_scaling_state_controller, force_torque_sensor_controller [INFO] [1592797673.065233]: Started controllers: joint_state_controller, scaled_pos_traj_controller, speed_scaling_state_controller, force_torque_sensor_controller
terminal2:roslaunch ur10_e_moveit_config ur10_e_moveit_planning_execution.launch limited:=true ROS_MASTER_URI=http://localhost:11311
process[move_group-1]: started with pid [9208] [ INFO] [1592797854.051201196]: Loading robot model ‘ur10e’… [ WARN] [1592797854.051295497]: Skipping virtual joint ‘fixed_base’ because its child frame ‘base_link’ does not match the URDF frame ‘world’ [ INFO] [1592797854.051308504]: No root/virtual joint specified in SRDF. Assuming fixed joint [ INFO] [1592797854.125901850]: Loading robot model ‘ur10e’… [ WARN] [1592797854.125926664]: Skipping virtual joint ‘fixed_base’ because its child frame ‘base_link’ does not match the URDF frame ‘world’ [ INFO] [1592797854.125937078]: No root/virtual joint specified in SRDF. Assuming fixed joint [ INFO] [1592797854.185997114]: Publishing maintained planning scene on ‘monitored_planning_scene’ [ INFO] [1592797854.188506916]: MoveGroup debug mode is OFF Starting context monitors… [ INFO] [1592797854.188543285]: Starting scene monitor [ INFO] [1592797854.190988216]: Listening to ‘/planning_scene’ [ INFO] [1592797854.191010974]: Starting world geometry monitor [ INFO] [1592797854.193649727]: Listening to ‘/collision_object’ using message notifier with target frame '/world ’ [ INFO] [1592797854.196083260]: Listening to ‘/planning_scene_world’ for planning scene world geometry [ INFO] [1592797854.210392399]: Listening to ‘/attached_collision_object’ for attached collision objects Context monitors started. [ INFO] [1592797854.235757532]: Initializing OMPL interface using ROS parameters [ INFO] [1592797854.261347200]: Using planning interface ‘OMPL’ [ INFO] [1592797854.263725965]: Param ‘default_workspace_bounds’ was not set. Using default value: 10 [ INFO] [1592797854.264163797]: Param ‘start_state_max_bounds_error’ was set to 0.1 [ INFO] [1592797854.264653501]: Param ‘start_state_max_dt’ was not set. Using default value: 0.5 [ INFO] [1592797854.265113411]: Param ‘start_state_max_dt’ was not set. Using default value: 0.5 [ INFO] [1592797854.265552898]: Param ‘jiggle_fraction’ was set to 0.05 [ INFO] [1592797854.265954043]: Param ‘max_sampling_attempts’ was not set. Using default value: 100 [ INFO] [1592797854.265987268]: Using planning request adapter ‘Add Time Parameterization’ [ INFO] [1592797854.266003190]: Using planning request adapter ‘Fix Workspace Bounds’ [ INFO] [1592797854.266019251]: Using planning request adapter ‘Fix Start State Bounds’ [ INFO] [1592797854.266031419]: Using planning request adapter ‘Fix Start State In Collision’ [ INFO] [1592797854.266044115]: Using planning request adapter ‘Fix Start State Path Constraints’ [ WARN] [1592797854.272962671]: Please note that ‘action_ns’ no longer has a default value. [ WARN] [1592797859.284188581]: Waiting for to come up [ WARN] [1592797865.284542412]: Waiting for to come up [ERROR] [1592797871.284845191]: Action client not connected: [ INFO] [1592797871.310685893]: Returned 0 controllers in list [ INFO] [1592797871.345244674]: Trajectory execution is managing controllers Loading ‘move_group/ApplyPlanningSceneService’… Loading ‘move_group/ClearOctomapService’… Loading ‘move_group/MoveGroupCartesianPathService’… Loading ‘move_group/MoveGroupExecuteService’… 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] [1592797871.429074242]:
MoveGroup using: - ApplyPlanningSceneService - ClearOctomapService - CartesianPathService - ExecuteTrajectoryService - ExecuteTrajectoryAction - GetPlanningSceneService - KinematicsService - MoveAction - PickPlaceAction - MotionPlanService - QueryPlannersService - StateValidationService
[ INFO] [1592797871.429223559]: MoveGroup context using planning plugin ompl_interface/OMPLPlanner [ INFO] [1592797871.429243017]: MoveGroup context initialization complete
You can start planning now!
terminal3:roslaunch ur10_e_moveit_config moveit_rviz.launch config:=true [ INFO] [1592797865.511831797]: rviz version 1.12.17 [ INFO] [1592797865.511965008]: compiled against Qt version 5.5.1 [ INFO] [1592797865.511984839]: compiled against OGRE version 1.9.0 (Ghadamon) [ INFO] [1592797865.831713603]: Stereo is NOT SUPPORTED [ INFO] [1592797865.831765019]: OpenGl version: 3 (GLSL 1.3). [ INFO] [1592797869.185638529]: Loading robot model ‘ur10e’… [ WARN] [1592797869.185679559]: Skipping virtual joint ‘fixed_base’ because its child frame ‘base_link’ does not match the URDF frame ‘world’ [ INFO] [1592797869.185704221]: No root/virtual joint specified in SRDF. Assuming fixed joint [ INFO] [1592797869.231673934]: Loading robot model ‘ur10e’… [ WARN] [1592797869.231718282]: Skipping virtual joint ‘fixed_base’ because its child frame ‘base_link’ does not match the URDF frame ‘world’ [ INFO] [1592797869.231737633]: No root/virtual joint specified in SRDF. Assuming fixed joint [ERROR] [1592797869.295360164]: Client [/move_group] wants topic /feedback to have datatype/md5sum [control_msgs/FollowJointTrajectoryActionFeedback/d8920dc4eae9fc107e00999cce4be641], but our version has [visualization_msgs/InteractiveMarkerFeedback/ab0f1eee058667e28c19ff3ffc3f4b78]. Dropping connection. [ INFO] [1592797869.312682901]: Starting scene monitor [ INFO] [1592797869.315790341]: Listening to ‘/move_group/monitored_planning_scene’ [ INFO] [1592797869.316809390]: waitForService: Service [/get_planning_scene] has not been advertised, waiting… [ INFO] [1592797871.392451288]: waitForService: Service [/get_planning_scene] is now available. [ INFO] [1592797872.012698054]: Constructing new MoveGroup connection for group ‘manipulator’ in namespace ‘’ [ WARN] [1592797872.780346949]: Deprecation warning: Trajectory execution service is deprecated (was replaced by an action). Replace ‘MoveGroupExecuteService’ with ‘MoveGroupExecuteTrajectoryAction’ in move_group.launch [ INFO] [1592797872.784353614]: Ready to take commands for planning group manipulator. [ INFO] [1592797872.784589896]: Looking around: no [ INFO] [1592797872.784654204]: Replanning: no [ WARN] [1592797872.815150812]: Interactive marker ‘EE:goal_ee_link’ contains unnormalized quaternions. This warning will only be output once but may be true for others; enable DEBUG messages for ros.rviz.quaternions to see more details. [ INFO] [1592797980.078785569]: ABORTED: Solution found but controller failed during execution [ INFO] [1592797988.853524536]: ABORTED: Solution found but controller failed during execution
Could you help me ! I want to move the real Hardware UR10e under the rviz! Thanks
You would have to modify the
controllers.yaml
like this:Note: The yaml below has been modified later to match the current controller naming
With that setup I just tested it and it seems to work.
ok, I get that, but this is the Quick Start section on a specific driver’s README. I think its safe to assume newbies without familiarity with ROS or UR robots are going be follow that guide in the hopes of getting stuff setup.
by “default one” I meant specifically this line, which needs to be updated to work with the the
ur_robot_driver
. I assume the default is for ur_modern_driver or something, but since that driver is deprecated and this current repo is the recommended one to use, its not clear to me why the mismatch is here.Re the expectation that people write their own MoveIt configurations - that makes sense, but does that mean they would need to write their own action controllers as well?
One last comment on the documentation, which is a bit off this specific issue, but is relevant - The Quickstart is great, but a pointer on where to go next would be useful. Perhaps that’s just a pointer to the MoveIt documentation or something, but now that I have ROS control of the arm, it’s not clear how I start actually doing something with it…
Thanks for hearing me out!