Controller is taking too long to execute trajectory (the expected upper bound for the trajectory execution was 10.964647 seconds). Stopping trajectory.

asked 2023-06-21 22:53:23 -0600

srwbk gravatar image

Hi, I'm using Moveit with UR5, yesterday I sudo apt update caused this problem. which I'm not sure what the problem is. I hope everyone can help, thank you.

Controller is taking too long to execute trajectory (the expected upper bound for the trajectory execution was 10.964647 seconds). Stopping trajectory.
edit retag flag offensive close merge delete

Comments

Could you provide more details?

distro gravatar image distro  ( 2023-06-22 00:59:49 -0600 )edit

When I connect to the real robot I get the problem

[ INFO] [1687413684.759042210]: Canceling execution for
[ INFO] [1687413684.759224787]: Completed trajectory execution with status TIMED_OUT ...
[ INFO] [1687413684.759476054]: on_cancel
srwbk gravatar image srwbk  ( 2023-06-22 01:02:52 -0600 )edit

What do you mean by connect? What launch files are you running?

distro gravatar image distro  ( 2023-06-22 01:05:45 -0600 )edit

But I can run through demo.launch without problems. I'm not sure how this problem occurred. And sorry if I didn't fully explain, I hope everyone can help.

srwbk gravatar image srwbk  ( 2023-06-22 01:06:36 -0600 )edit

What launch file are you running that gives you this error?

distro gravatar image distro  ( 2023-06-22 01:08:26 -0600 )edit

The file I run is

roslaunch ur_modern_driver ur5_robotiq85_bringup.launch robot_ip:=192.168.0.100
roslaunch robot_moveit_hardware move_group.launch
roslaunch robot_moveit_hardware moveit_rviz.launch config:=True
srwbk gravatar image srwbk  ( 2023-06-22 01:08:51 -0600 )edit

@srwbk you may need to increase the time alotted to calculate trajectory using set_planning_time class function of MoveGroupCommander. I'm also having problems with my UR robot arm too. When I post my question I post the link here. Maybe it would help you as well.

distro gravatar image distro  ( 2023-07-08 20:09:48 -0600 )edit