get_joints_list()
  • 1 Minute to read

get_joints_list()


Article summary

Get the list of joints of a specific arm.

Reference

Arguments

ArgumentTypeDescription
armstringName of the arm.

Return

TypeDescription
ListThe names of the joints for the selected arm.

Exceptions

  • RayaArmsException
  • RayaArmsInvalidArmOrGroupName

See the complete list of arms exceptions

Usage example

Get the joints list of right arm

...
self.arms = self.enable_controller('arms')
...
joints_list = self.arms.get_joints_list("right")
self.log.info(joints_list)
...

Output:

['bicep_forearm_flex', 'forarm_rot', 'shoulder_bicep', 'shoulder_rail', 'shoulder_rot', 'wrist_flex', 'wrist_rot']

Was this article helpful?