setElevatorState

public final static InstantCommand setElevatorState(ElevatorState 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.