get_list_of_arms()
  • 1 Minute to read

get_list_of_arms()


Article summary

get_list_of_arms()

Get list of available arms on the current robotic device.

Reference

Arguments

None

Return

List with the names of available arms.

Exceptions

ExceptionCondition
RayaArmsExceptionException from arms method.
RayaArmsControllerNotReadyArms controller not yet ready.

See the complete list of Raya Exceptions.

Examples

...
self.arms = self.enable_controller('arms')
...
arms_list = self.arms.get_list_of_arms()
print(arms_list)
...

Output

['left_arm', 'right_arm']

Was this article helpful?