ToolModel.get_joint_by_name
- ToolModel.get_joint_by_name(name)[source]
Get a joint in a robot model matching by its name.
- Parameters:
- namestr
Joint name.
- Returns:
Joint
A joint instance.
Examples
>>> robot = RobotModel.ur5() >>> j = robot.get_joint_by_name("shoulder_lift_joint") >>> j.name 'shoulder_lift_joint'