View Source Tello.CyberTello.Processor.ControlUnit (Tello v0.1.0)
The control unit for Tello.CyberTello.Processor
.
Link to this section Summary
Link to this section Functions
@spec process_command(Tello.CyberTello.State.t(), String.t()) :: {:ok, Tello.CyberTello.State.t()} | {:error, any()}
Mutate the state
based on the command
.
Returns new Tello.CyberTello.State
.