urdfdom_headers provides the core C++ data structure headers for the Unified Robot Description Format (URDF).
This repository is a custom fork of the standard urdfdom_headers. It adds specialized support for constraint descriptions to safely model closed-loop kinematics (e.g., for parallel robots) without breaking compatibility with the surrounding ROS ecosystem and packages.
- Core URDF Headers: Provides the same foundational C++ headers as the upstream
urdfdom_headerspackage. - Closed-Loop Kinematics Support: Introduces
constraintelements representing "cut joints" or "cut links" to describe closed kinematic loops.- Based closely on the standard URDF
jointelement structure. - Adds a
child_frameorigin and achildaxis to effectively describe the two frames of the cut element.
- Based closely on the standard URDF
- Constraint Types: The explicit structure of the constraint is defined by giving the name (type) of the cut element:
UNKNOWN: Unknown constraint typeREVOLUTE: 1-DOF rotation joint constraintPRISMATIC: Prismatic joint constraintUNIVERSAL: Universal joint constraintSPHERICAL: Spherical joint constraintLINK: Link constraint- (Additional types may be added in future updates)
The description of constraints in this fork strictly adheres to standard modeling techniques specifically meant for parallel robots.
- CMake (3.20 or higher)
- A C++ compiler
mkdir build && cd build
cmake ..
make
sudo make installWhen used inside standard ROS build tools (catkin, ament, or colcon workspaces), the headers are installed in an extra subfolder (include/urdfdom_headers/urdfdom_headers) by default. This avoids include directory search order issues when overriding this package from a workspace.
To use this within your own CMake project:
find_package(urdfdom_headers REQUIRED)
target_link_libraries(your_target PUBLIC urdfdom_headers::urdfdom_headers)For general details about the standard URDF specifications and documentation on the basic elements, please refer to the ROS URDF Wiki.
This project is licensed under the BSD License. See the LICENSE file for complete details.