set Elevator State
Creates an InstantCommand to set the state of the elevator.
Return
An InstantCommand that sets the elevator state.
Parameters
state
The desired state of the elevator.
Creates an InstantCommand to set the state of the elevator.
An InstantCommand that sets the elevator state.
The desired state of the elevator.