ToolModel.from_urdf_file
- classmethod ToolModel.from_urdf_file(file)
Construct a robot model from a URDF file model description.
- Parameters
file (str | file) – File path or file-like object.
- Returns
compas.robots.RobotModel
– A robot model instance.
Examples
>>> robot = RobotModel.ur5() >>> print(robot) Robot name=ur5, Links=11, Joints=10 (6 configurable)