Skip to content

Add constraints to describe closed loops - #264

Open
FFinkbeiner wants to merge 1 commit into
ros:rollingfrom
HIT-Robotics:rolling
Open

FFinkbeiner wants to merge 1 commit into
ros:rollingfrom
HIT-Robotics:rolling

Conversation

@FFinkbeiner

Copy link
Copy Markdown

The URDF does not provide a way to describe closed loops for parallel robots, such as delta robots. To address this issue without disrupting the tree structure, we propose using constraint elements. These elements are designed to describe cut elements, like joints or links, by adding two frames per constraint to the tf-tree. This element is similar to joints, but uses an additional origin to describe the second frame and an additional axis to describe more complex joints (e.g. universal joints).

The constraint is defined as follows


<parent_origin xyz=“Offset_Child” rpy=“RPY_Parent”/>
<parent_axis xyz=“Joint_Axis_Parent”/>

<child_origin xyz=“Offset_Child” rpy=“RPY_Child”/>
<child_axis xyz=“Joint_Axis_Child”/>

Closing is done using a solver that calculates the passive angles of the robot based on minimal coordinates (e.g. the actuated joints). We use our joints_state_transformer for this purpose. It takes the measured joint states from the \joint_state topic and calculates the missing joints based on the constraints. Additionally, it transforms a trajectory planned with end-effector coordinates into one with actuated joints.
https://github.com/HIT-Robotics/joint_state_transformer

For future use, we plan to move constraint solving to the robot_state_publisher as soon as the description allows.

Examples of the extension and the joint_state_transformer can be found here:
https://github.com/HIT-Robotics/joint_state_transformer_example

We already created a project post on Discourse to discuss the extension and examples:
https://discourse.openrobotics.org/t/parallel-robots-in-ros/54781

This is the parsing implemmentation for the change in the headers in the following PR:
ros/urdfdom_headers#108

@mergify

mergify Bot commented Jun 21, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@saikishor

Copy link
Copy Markdown
Collaborator

@FFinkbeiner can you rebase and try to fix the conflicts

…traints and constraint types to the xsd file

Signed-off-by: Fabian Finkbeiner <fabian.finkbeiner@hs-heilbronn.de>
@FFinkbeiner

Copy link
Copy Markdown
Author

@saikishor I've resolved the conflicts here as well as in the urdfdom_headers PR. Please let me know if you need anything else from my end!

@saikishor

Copy link
Copy Markdown
Collaborator

@saikishor I've resolved the conflicts here as well as in the urdfdom_headers PR. Please let me know if you need anything else from my end!

Thank you for rebasing the branch, I'll try to take a look and comment here

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.

2 participants