is_arm_in_execution()
- 1 Minute to read
is_arm_in_execution()
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
is_arm_in_execution()
Checks if a specified arm is in the middle of a process.
Reference
Arguments
Argument | Type | Default value | |
---|---|---|---|
arm | str | Name of the arm to check. |
Return
Boolean
: True
if the arm is operating currently, otherwise False
.
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')
...
left_arm_gripper_running = self.arms.is_arm_in_execution('left_arm')
print(left_arm_gripper_running)
...
Output
False
Was this article helpful?