Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Description

Variables from request

Callback Placement

palletState = palletmanager_daemon.get_pallet_state(0)

Get Pallet completion state during palletizing.

The function returns an array with 3 elements, in this order:

  • total number of boxes in the pattern

  • number of boxes already completed*

  • number of boxes remaining*

*The boxes currently being picked are not counted as completed or remaining.

nr_total = palletState[0]
nr_done = palletState[1]
nr_not_done = palletState[2]

  • onNextTask

  • beforeGrab

  • afterGrab

  • beforeRelease

  • afterRelease

Example:

Get the number of boxes being picked:

...