get_list_predefined_poses()
- 1 Minute to read
get_list_predefined_poses()
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
get_list_predefined_poses()
Retrieve all the predefined poses that the arm can be set to.
Reference
Arguments
Argument | Type | Default value | |
---|---|---|---|
arm | str | Name of the arm whose predefined poses will be returned. |
Return
List with the name of each predefined pose for the specified arm.
Exceptions
Exception | Condition |
---|---|
RayaArmsException | Exception from arms method. |
RayaArmsControllerNotReady | Arms controller not yet ready. |
See the complete list of Raya Exceptions.
Examples
...
self.arms = self.enable_controller('arms')
...
right_arm_predefined_poses = self.arms.get_list_predefined_poses('right_arm')
print(right_arm_predefined_poses)
...
Output
['right_arm_home', 'pre_step_1', 'pre_step_2', 'pre_step_3', 'nav_with_object0', 'nav_with_object', 'nav_with_object1', 'nav_with_object2']
Was this article helpful?