
public interface BaseMotor
| Modifier and Type | Method and Description |
|---|---|
void |
backward()
Causes motor 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 motor to rotate forward until
stop() or flt() is called. |
boolean |
isMoving()
Return
true if the motor is moving. |
void |
stop()
Causes motor 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 motor is moving.true if the motor is currently in motion, false if stopped.