Skip to content

Conversation

urfeex
Copy link
Member

@urfeex urfeex commented Jul 29, 2025

This adds the PD control mode from the client_library to ROS. In PD control mode the user can specify a target position (either in joint or in task space) and the robot will use a torque-control loop internally to reach that position.

This PR contains an example controller using a topic input for streaming targets to the robot. Topic communication might introduce a certain lack of determinism which is why it is probably best to write a controller fitting a custom use case from input to control target.

This builds upon #767 and requires UniversalRobots/Universal_Robots_ROS2_Description#302 and https://github.com/UniversalRobots/Universal_Robots_Client_Library/tree/torque_control to work, hence the draft.

ToDo's:

  • Implementation
  • Test on a real robot
  • Write tests (torque control doesn't work with URSim -- we cannot test much)
  • Write documentation

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