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

Reducing the speed/velocity of a UR5

asked 2019-03-20 13:50:52 -0500

sisko gravatar image

I'm executing the ros-industrial launch files on a real UR5 robot but I would like to reduce the speed at which it executes my moveit plans.

Can anyone advice how I can do that from a python package, please?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-03-20 14:10:00 -0500

sisko gravatar image

I found a solution.

For anyone else looking, in the moveit generated package config/joint_limits.yaml file, resides the following configurations:

joint_limits:
  shoulder_pan_joint:
    has_velocity_limits: true
    max_velocity: 3.15
    has_acceleration_limits: true
    max_acceleration: 3.15
  shoulder_lift_joint:
    has_velocity_limits: true
    max_velocity: 3.15
    has_acceleration_limits: true
    max_acceleration: 3.15
  elbow_joint:
    has_velocity_limits: true
    max_velocity: 3.15
    has_acceleration_limits: true
    max_acceleration: 3.15
  wrist_1_joint:
    has_velocity_limits: true
    max_velocity: 3.2
    has_acceleration_limits: true
    max_acceleration: 3.2
  wrist_2_joint:
    has_velocity_limits: true
    max_velocity: 3.2
    has_acceleration_limits: true
    max_acceleration: 3.2
  wrist_3_joint:
    has_velocity_limits: true
    max_velocity: 3.2
    has_acceleration_limits: true
    max_acceleration: 3.2

I changed all the 3.15 values to 1.00 and the 3.2 values to 1.2. Those figures were arbitrary. Not sure it there is a way to set better values but the UR5 is slowed down.

edit flag offensive delete link more

Comments

Instead of changing the limits, I'd go with setting an appropriate scaling value for the velocity and acceleration. MoveIt supports that (methods have MaxScalingFactor in them). I'm not sure about Python support though (as I don't use it).

That is much more fiexible, as it allows you to use the full range of velocities that your manipulator supports, instead of limiting it to only very slow velocities.

gvdhoorn gravatar image gvdhoorn  ( 2019-03-21 01:41:47 -0500 )edit

But MaxScalingFactor doesnt work at computeCartesianPath.And i tried to redifined trajectory ,but it didnt work at my real fanuc_m710ic robot .So how could i increse the speed of real robot.

Ataraxy gravatar image Ataraxy  ( 2022-04-25 02:43:08 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2019-03-20 13:50:52 -0500

Seen: 771 times

Last updated: Mar 20 '19