moveit / srdfdom

Semantic Robot Description Format
BSD 3-Clause "New" or "Revised" License
12 stars 68 forks source link

srdfdom

Parser for the Semantic Robot Description Format (SRDF).

Includes a cpp and a python parser, as well as a cpp writer.

GitHub Actions - Continuous Integration

Format BuildAndTest

Authors

Original reflection implementation for SDF and URDF.

C++ example

test_parser.cpp contains examples how to access the srdf elements from the cpp parser

Python example

test.py contains examples how to access the srdf elements from the python parser

display_srdf reads a srdf from a file given in command line argument or from parameter server (robot_description_semantic) and displays it in a yaml format if an output option (-o ) is provided, dumps the xml (re-generated from parsed input xml)

example:

rosrun srdfdom display_srdf test/res/pr2_desc.3.srdf

Test

catkin_make run_tests_srdfdom