manage_predefined_pose()
- 1 Minute to read
manage_predefined_pose()
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
This function manages predefined poses.
Reference
Arguments
Arguments | Type | Default value | Description |
---|---|---|---|
arm | str | The arm to manage predefined pose for. | |
name | str | Name of the predefined pose. | |
position | list | [] | Position values for the predefined pose (joint values). |
action | ARMS_MANAGE_ACTIONS | ARMS_MANAGE_ACTIONS.CREATE | Action to perform on the predefined pose (CREATE, EDIT, REMOVE or GET). |
units | ANGLE_UNIT | ANGLE_UNIT.DEGREES | Unit of measurement for angles (DEGREES or RADIANS). |
Return
ARMS_MANAGE_ACTIONS.(CREATE,EDIT or REMOVE)
None
ARMS_MANAGE_ACTIONS.GET
Type | Description |
---|---|
list | Joints Position values. |
Exceptions
RayaArmsException
RayaArmsPredefinedPoseEmptyName
RayaArmsPredefinedPoseNameAlreadyExist
RayaArmsPredefinedPoseNameNotExist
See the complete list of arms exceptions
Usage Example
See the Manage Predefined Pose Examples to see how to use this function.
Was this article helpful?