ToolModel.from_urdf_string
- classmethod ToolModel.from_urdf_string(text)
Construct a robot model from a URDF description as string.
- Parameters
text – String containing the XML URDF model.
- Returns
A robot model instance.
Examples
>>> urdf_string = '<?xml version="1.0" encoding="UTF-8"?><robot xmlns:xacro="http://www.ros.org/wiki/xacro" name="panda"></robot>' >>> model = RobotModel.from_urdf_string(urdf_string)