Skip to content

Conversation

ViktorCVS
Copy link

@ViktorCVS ViktorCVS commented Sep 4, 2025

Overview

This PR aligns ur_controllers with the current joint_trajectory_controller
parameter schema on Rolling by switching the anti-windup clamping from the
symmetric gains.i_clamp to the explicit gains.i_clamp_max / gains.i_clamp_min.
This matches how JTC exposes per-joint PID limits and the newer anti-windup
options, while keeping behavior identical when max = +M and min = −M.

What was added/changed in this PR

  • Replace gains.i_clamp with gains.i_clamp_max / gains.i_clamp_min
    in the anti-windup mapping.
  • Enable asymmetric integral limits when configured by users.
  • Bring ur_controllers in line with JTC’s Rolling parameter names and
    anti-windup configuration.

About tests

The packages compile correctly and have passed the colcon tests.

Related PR's

Final notes

I'm very open to any recommendations to improve this code.

Replace gains.i_clamp with gains.i_clamp_max/min for anti-windup.
Enables asymmetric integral limits and matches current names.
Symmetric configs (max=+M, min=-M) keep the same behavior.
@ViktorCVS
Copy link
Author

@christophfroehlich done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant