public interface BaseMotor
Modifier and Type | Method and Description |
---|---|
void |
backward()
Causes motors to rotate backwards until
stop() or flt() is called. |
void |
flt()
Motor loses all power, causing the rotor to float freely to a stop.
|
void |
forward()
Causes motors to rotate forward until
stop() or flt() is called. |
boolean |
isMoving()
Return
true if the motors is moving. |
void |
stop()
Causes motors to stop immediately.
|
void forward()
stop()
or flt()
is called.void backward()
stop()
or flt()
is called.void stop()
void flt()
boolean isMoving()
true
if the motors is moving.true
if the motors is currently in motion, false
if stopped.