Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

One way to do it is as follow

import xacro
...
urdf = xacro.process_file(file_path, mappings={'tfpre': 'robot1/'}).toxml()
# Use urdf