Counting people inside the elevator cabin
Use Direction constants
Removed unnecessary states in CabinState
Define thresholds and response mode based on cabin occupancy
Revert to omnibus mode when in panic
[FIX] Check floor range before accepting request
Added new custom server request to print elevator status
Removed print methods
Reset panic mode command counter when exiting panic mode
[FIX] Trying to fix currentFloor reset
Added status report on each request to debug
Fixed starting floor
Added new debug custom method
Changed status signature to allow pretty printing
Revert to only one logger
Added mode in status info
[FIX] Try to fix threshold computation
Improved panic mode : only go to floors with out requests
[FIX] Temporary fix from removeRequest
[FIX] Fixed direction change in panic mode
Implemented ALERT mode behaviour : go to next floor with most outgoing
requests