RobotModel.get_joint_by_name

RobotModel.get_joint_by_name(name)[source]

Get a joint in a robot model matching by its name.

Parameters

name – joint name.

Returns

A joint instance.

Examples

>>> j = robot.get_joint_by_name('joint1')
>>> j.name
'joint1'