TeamCode / org.firstinspires.ftc.teamcode.movement / LinearMotion / moveIfAble

moveIfAble

fun moveIfAble(power: Double): Boolean

Moves the linear motion system at a given power if it is allowed to; stops it if it is not.

Parameters

power - the power at which to move the linear motion system

Return
whether the linear motion system was allowed to move

See Also

LinearMotion.canMove