RobotModel.from_urdf_file
- classmethod RobotModel.from_urdf_file(file)[source]
Construct a robot model from a URDF file model description.
- Parameters:
- filestr | file
File path or file-like object.
- Returns:
RobotModel
A robot model instance.
Examples
>>> robot = RobotModel.ur5() >>> print(robot) Robot name=ur5, Links=11, Joints=10 (6 configurable)