manage_predefined_pose()
  • 1 Minute to read

manage_predefined_pose()


Article summary

This function manages predefined poses.

Reference

Arguments

ArgumentsTypeDefault valueDescription
armstrThe arm to manage predefined pose for.
namestrName of the predefined pose.
positionlist[]Position values for the predefined pose (joint values).
actionARMS_MANAGE_ACTIONSARMS_MANAGE_ACTIONS.CREATEAction to perform on the predefined pose (CREATE, EDIT, REMOVE or GET).
unitsANGLE_UNITANGLE_UNIT.DEGREESUnit of measurement for angles (DEGREES or RADIANS).

Return

ARMS_MANAGE_ACTIONS.(CREATE,EDIT or REMOVE)

None

ARMS_MANAGE_ACTIONS.GET

TypeDescription
listJoints 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?