Repository navigation
Add constraints to describe closed loops - #264
Open
FFinkbeiner wants to merge 1 commit into
Open
FFinkbeiner wants to merge 1 commit into
FFinkbeiner wants to merge 1 commit into
Conversation
|
Tick the box to add this pull request to the merge queue (same as
|
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>
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! |
Collaborator
Thank you for rebasing the branch, I'll try to take a look and comment here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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