setControlVector method

Future<void> setControlVector(
  1. ControlVector? vector
)

Steers every following turn with vector, or stops with null. Throws StateError while a turn is running, ArgumentError for a vector of another model.

Implementation

Future<void> setControlVector(ControlVector? vector) =>
    _steer(_runtime.model, vector);