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