Robotics StackExchange | Archived questions

joint_limits.yaml file and saftey configuration on ur5 control panel

I am using ROS Kinetic, moveit, and the current urdriver from FZI. I have changed the safefty configuration on the ur5 control panel to limit the maximum joint speed to 80 degrees/second. This resulted in some stuttering when moving the robot with moveit and a very quick acceleration (the robot started to move almost immediately at a fast speed and decelerated very quickly near the end of its trajectory) so I changed the default values in the `jointlimits.yamlfile inside theur5moveitconfig` to match the joint speed limits on the control panel. As no acceleration values can be found on the control panel, I changed the acceleration on the joints to be the same as the velocity. The robot is now able to accelerate smoothly, but I am still getting some stuttering in trajectories. Can anyone point me in the right direction? Attached my joint_limits.yaml file for reference.

# joint_limits.yaml allows the dynamics properties specified in the URDF to be overwritten or augmented as needed
# Specific joint properties can be changed with the keys [max_position, min_position, max_velocity, max_acceleration]
# Joint limits can be turned off with [has_velocity_limits, has_acceleration_limits]
joint_limits:
  shoulder_pan_joint:
    has_velocity_limits: true
    max_velocity: 1.2211
    has_acceleration_limits: true
    max_acceleration: 1.2211
  shoulder_lift_joint:
    has_velocity_limits: true
    max_velocity: 1.2211
    has_acceleration_limits: true
    max_acceleration: 1.2211
  elbow_joint:
    has_velocity_limits: false
    max_velocity: 1.2211
    has_acceleration_limits: true
    max_acceleration: 1.2211
  wrist_1_joint:
    has_velocity_limits: true
    max_velocity: 1.2211
    has_acceleration_limits: true
    max_acceleration: 1.2211
  wrist_2_joint:
    has_velocity_limits: true
    max_velocity: 1.2211
    has_acceleration_limits: true
    max_acceleration: 1.2211
  wrist_3_joint:
    has_velocity_limits: true
    max_velocity: 1.2211
    has_acceleration_limits: true
    max_acceleration: 1.2211

Asked by shu on 2020-07-07 02:24:24 UTC

Comments

Please post this as an issue on the UniversalRobots/Universal_Robots_ROS_Driver issue tracker.

If/when you do this, please post a comment here with a link to your issue so we can keep things connected.

Asked by gvdhoorn on 2020-07-07 02:38:06 UTC

The issue has been opened over here https://github.com/UniversalRobots/Universal_Robots_ROS_Driver/issues/220

Asked by shu on 2020-07-07 03:35:43 UTC

Answers