Pigeon Agents Development Demo Dialog Picking - DatasmithSA/Pigeon-Voice-Training GitHub Wiki
After having successfully downloaded a pick list and its pick items, the Voice Application enters the picking process for the picker to pick all the items on the list. This process loops through all the items on the list until all items have been picked.
/images/demo/Pigeon-Voice-Demo-Picking.png
Yellow nodes in the flow chart indicate sub-processes. Blue nodes indicate prompts that the device speaks out to operator. Red links between nodes indicates an operator's response. Transparent nodes indicate background software logic that happens without interaction from the user.
- Go to location: the process begins with the device prompting the operator to go to the location of the first item on the pick list. At this point the operator can respond with "sign me off" which would the operayor to the sign off process. Alternatively the operator is expected to speak the check digits for that specific location. The check digits are a set of random numbers displayed at the location in the warehouse which are unique for the location. This enables the Voice Application to verify that the operator is at the correct location i.e. whether the expected check digits for that location have been spoken by the operator or not.
- Incorrect check digits: if the spoken check digits do not match the expected check digits, the device will prompt the operator with "Incorrect check digits. Say ready". Once the operator says ready, he/she will be prompted with the location once again.
- Correct check digits: if the spoken check digits match the expected check digits, the dialog continues to the next prompt.
- Quantity: the device prompts the operator with the quantity that has been picked so far for this item and the quantity remaining to be picked. At this point the operator has several options on how to respond:
- Description: the operator can say the command "description" which will cause the device to speak out the item's description.
- Quantity Picked: the operator can speak the quantity picked. This quantity may be less or equal to the remaining quantity but not more.
- Invalid quantity: if the quantity spoken is more than the remaining quantity to pick, then the device will prompt the operator with "Invalid quantity. Say ready." After the operator says ready, he/she will be prompted with the quantity prompt again.
- Valid quantity: if the quantity spoken is less than or equal to the remaining quantity to pick, then the Voice Application will check if the remaining quantity has completely been picked.
- If it has not been completely picked, it will decrease the remaining quantity and increase the quantity picked and thereafter return to the quantity prompt.
- If the complete remaining quantity has been picked, then the Voice Application will set the pick status code to "R" indicating a complete pick.
- Short: the operator can say the command "short" which indicates that there are no more of this item to be picked in the given location.
- Confirm Short: the device prompts the operator to confirm that it is short by asking "short" and the quantity remaining (which has not been picked yet) e.g. "Short 10?".
- The operator can respond with "no" if the short command was spoken by mistake, in which case the device will go back to the quantity prompt.
- Alternatively the operator can respond with "yes" confirming that indeed it is a short pick. The Voice Application will set the pick status code to "S" indicating a short pick.
- Confirm Short: the device prompts the operator to confirm that it is short by asking "short" and the quantity remaining (which has not been picked yet) e.g. "Short 10?".
- Call OdrConfirmPickAgent: an ODR message request is made to the OdrConfirmPickAgent with the SKU of the item, the quantity picked, the pick status code ("R" or "S") and the pick list number of the pick list that this item belongs to. N.B. keep in mind that requests to ODR agents are non-blocking calls, meaning that the device does not wait for a response from the server before continuing to the next state. Instead the ODR message request is added to an ODR queue on the device either in RAM or flash memory. The device will continue trying to send the ODR request to the server in the background until it receives an acknowledgment from the server that the ODR (pick confirmation) has been processed.
- All items picked: after every pick line the Voice Application will check if all the items have been picked for the pick list.
- If not all the items have been picked for the pick list, then the Voice Application will query the next item on the device that has not been picked and the device will prompt the operator with the next pick location to go to.
- If all the items have been picked for the pick list, the device will prompt with "Picking completed". It will thereafter return to the Get Picking Data (Assignment) process, prompting with "New assignment?" allowing the operator to download and start another pick list.