is_arm_in_execution()
  • 1 Minute to read

is_arm_in_execution()


Article summary

is_arm_in_execution()

Checks if a specified arm is in the middle of a process.

Reference

Arguments

ArgumentTypeDefault value
armstrName of the arm to check.

Return

Boolean: True if the arm is operating currently, otherwise False.

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')
...
left_arm_gripper_running = self.arms.is_arm_in_execution('left_arm')
print(left_arm_gripper_running)
...

Output

False

Was this article helpful?