If the expected floor is not the reported floor it transits to Panic, still sets the current floor to the floor sensor information and might even transit to Idle.
Yeah I know it's more or less cosmetic, but to avoid to confuse newbies (like me) I'd suggest:
The documentation says:
However in elevator.cpp:
If the expected floor is not the reported floor it transits to Panic, still sets the current floor to the floor sensor information and might even transit to Idle.
Yeah I know it's more or less cosmetic, but to avoid to confuse newbies (like me) I'd suggest: