get_joints_list()
- 1 Minute to read
get_joints_list()
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
Get the list of joints of a specific arm.
Reference
Arguments
Argument | Type | Description |
---|---|---|
arm | string | Name of the arm. |
Return
Type | Description |
---|---|
List | The 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?