srdfdom
Parser for Semantic Robot Description Format (SRDF).
Links
README
srdfdom
Parser for the Semantic Robot Description Format (SRDF).
Includes a C++ and a Python parser, as well as a C++ writer.
GitHub Actions - Continuous Integration
C++ example
test/test_parser.cpp
contains examples of how to access the SRDF elements from the C++ parser.
Python example
test/test.py
contains examples on how to access the SRDF elements from the Python parser.
scripts/display_srdf
reads SRDF from a file given in a command line argument and displays it in a YAML format.
If an output option (-o <filename>
) is provided, it dumps the XML (re-generated from parsed input XML) to file.
example:
ros2 run srdfdom display_srdf test/resources/pr2_desc.3.srdf
Test
colcon test --packages-select srdfdom