Chapter 3 · Aurubis3•1
Driver check-in kiosk
A multilingual self-service check-in for delivery drivers, with an ID scanner, a printer, safety videos and a site map guide.
Kevin modelled the guided check-in as an XState state machine that drives the scanner, the printer and the videos, while the requirements kept shifting.
- Client
- Aurubis
- Role
- Full-stack developer
- Period
- 2023 · 5 mo
- Team
- 2–3
Wiring key
Driver check-in kiosk3•2
The check-in as a state machine. It waits idle for the next driver, who first chooses a language; every screen, video and printout after that is in it. The driver's ID goes on the ID scanner. If the ID is on file, the machine skips ahead; a new driver fills in the driver form. The machine then looks for the delivery in the yard program from chapter 2. If it is booked, the material and plant come from the booking; if not, the driver fills in the delivery form. If the driver has seen the safety video before, it is skipped; if not, it plays. Last, the printer prints the safety guidelines and a map to the drop-off spot for that material and plant, and the machine goes back to idle.
Notes
- Fig. 3.1 is simplified: the drop-off spots A to C stand in for the real yard, where each material and plant has its own.
- As a Zinderlabs consultant at Rekencentra, on a project for Aurubis.