ToolModel.iter_joints

ToolModel.iter_joints()[source]

Iterator over the joints that starts with the root link’s children joints.

Returns

Iterator of all joints starting at root.

Examples

>>> [j.name for j in robot.iter_joints()]
['joint1', 'joint2']