...
Table of Contents | ||
---|---|---|
|
...
In Short: TaskCompleted
TaskCompletedA boolean value that controls whether the main Pally program should proceed to the next box position on the pallet, or repeat the same box position again. This is useful in the following scenarios:
The variable should be controlled by the user code in the beforeRelease-callback if required: Possible values
The default value is True unless lost vacuum is reported by the “vacuum lost” signal. Example
|
In Detail: TaskCompleted
The boolean variable TaskCompleted
is used to verify that the robot has placed box(es) on the pallet, and the program can proceed to the next position or not.
...
As shown in the code snippet from above, setting the TaskCompleted = True
in the beforeRelease-callback, will ensure that all movements of the robot are treated as successful runs - where Pally assumes that the boxes in the current task have been placed on the pallet. If TaskCompleted = False
after the beforeRelease-callback, then Pally will not count the current task as completed. This will lead to Pally re-trying to place the box(es) in the current task.
Info |
---|
Please note: the TaskCompleted variable cannot be used along the path from the pick position towards the drop position. The first callback where TaskCompleted has a valid value is BeforeRelease. |
Info |
---|
Please note: even if a box is lost on the way from the pick position to the drop position, the robot will continue its motion to the drop position. Vacuum sensor is not being monitored constantly along the path. To do this, you can create your own thread and monitor the vacuum sensor input directly. |