runFor

open fun runFor(@NonNull time: Measure<Time>, pwr: Double): Task

Run the actuator for a certain amount of time using raw power.

Power will be translated according to the user setpoint control defined in withUserSetpointControl if a default task is scheduled.

Return

a task to run the actuator

Parameters

time

the time to run for

pwr

the power to run at