run

open fun run(power: Double): Task

Continuously commands the actuator to control with this power value.

Note: Should be allocated as a default task, otherwise this task will not trigger the auto-capturing power setters and nothing will happen.

Power will be translated accordingly depending on the state of withUserSetpointControl and if it has been called.

Return

a task to move the actuator, syntactic sugar to control(() -> power).

Parameters

power

the constant power