Closed zp2546265641 closed 4 weeks ago
Thank you for reporting this:
We tried reproducing this, but we (almost) couldn't.
As a start: As far as I am aware, the default moveit config in ur5_moveit_config doesn't check for execution times, so I assume, you have altered that? To which value did you set the allowed_execution_duration_scaling
value? By default, that's set to 1.2 to allow some additional time for communication and so on. Also, the motion will take a bit longer, since there will have to be a buffer of positions filled up before the robot starts moving.
I was only able to reproduce this though, when setting the speed scaling to a value smaller than 1.0.
For example, when setting allowed_execution_duration_scaling=2.0
, setting execution_duration_monitoring=true
and setting the speed slider to 45% (rosservice call /ur_hardware_interface/set_speed_slider "speed_slider_fraction: 0.45"
) I was able to reproduce what you describe. Could you check whether your speed slider is not at 100%?
Otherwise: Setting the allowed duration scaling to a value at least somewhat greater than 1.0 seems a good idea to robustify things.
Thank you for reporting this:
We tried reproducing this, but we (almost) couldn't.
As a start: As far as I am aware, the default moveit config in ur5_moveit_config doesn't check for execution times, so I assume, you have altered that? To which value did you set the
allowed_execution_duration_scaling
value? By default, that's set to 1.2 to allow some additional time for communication and so on. Also, the motion will take a bit longer, since there will have to be a buffer of positions filled up before the robot starts moving.I was only able to reproduce this though, when setting the speed scaling to a value smaller than 1.0.
For example, when setting
allowed_execution_duration_scaling=2.0
, settingexecution_duration_monitoring=true
and setting the speed slider to 45% (rosservice call /ur_hardware_interface/set_speed_slider "speed_slider_fraction: 0.45"
) I was able to reproduce what you describe. Could you check whether your speed slider is not at 100%?Otherwise: Setting the allowed duration scaling to a value at least somewhat greater than 1.0 seems a good idea to robustify things.
speed_slider_fraction 100 is too fast. For safety reasons, I always set it to less than 20. So if I set it to 100, will this problem not occur? Or do I need to make some changes?
Thank you for reporting this:
We tried reproducing this, but we (almost) couldn't.
As a start: As far as I am aware, the default moveit config in ur5_moveit_config doesn't check for execution times, so I assume, you have altered that? To which value did you set the
allowed_execution_duration_scaling
value? By default, that's set to 1.2 to allow some additional time for communication and so on. Also, the motion will take a bit longer, since there will have to be a buffer of positions filled up before the robot starts moving.I was only able to reproduce this though, when setting the speed scaling to a value smaller than 1.0.
For example, when setting
allowed_execution_duration_scaling=2.0
, settingexecution_duration_monitoring=true
and setting the speed slider to 45% (rosservice call /ur_hardware_interface/set_speed_slider "speed_slider_fraction: 0.45"
) I was able to reproduce what you describe. Could you check whether your speed slider is not at 100%?Otherwise: Setting the allowed duration scaling to a value at least somewhat greater than 1.0 seems a good idea to robustify things.
I used the default configuration of moveit, only changed the IP and the corresponding port, and did not change anything else.
speed_slider_fraction 100 is too fast. For safety reasons, I always set it to less than 20. So if I set it to 100, will this problem not occur? Or do I need to make some changes?
Yes. If the robot moves to fast, you can also reduce the planning max velocity and acceleration. Or you change the moveit configuration as mentioned above and combine it with the speed slider. You could probably even change the expected duration scaling based on the speed slider value with a small node.
Since the issue is quite old and no further problems came up, I will close it. Feel free to re-open if it is still relevant.
Affected ROS Driver version(s)
ur5
Used ROS distribution.
Noetic
Which combination of platform is the ROS driver running on.
Linux
How is the UR ROS Driver installed.
From binary packets
Which robot platform is the driver connected to.
Real robot
Robot SW / URSim version(s)
i do not know which
How is the ROS driver used.
Through the robot teach pendant using External Control URCap
Issue details
Summary
Controller is taking too long to execute trajectory (the expected upper bound for the trajectory execution was 0.887946 seconds). Stopping trajectory.
Issue details
Steps to Reproduce
my launch:
first, launch and then run the test.py.and then it tell me that
Expected Behavior
no error
Actual Behavior
Relevant log output
Accept Public visibility