set Power
Instantly set the power of the actuator.
This differs from the setPower()
method on HoldableActuator as it will set the direct power of the motor, unless a safety constraint is triggered. setPower()
on the parent object defines a user-desired power which will be further translated. See control for that behaviour.
Return
a one-shot task to set the power instantly then end
Parameters
pwr
the power to set