public class NXTRegulatedMotor extends BaseRegulatedMotor
acceleration, MAX_SPEED_AT_9V, NO_LIMIT, reg, speed, tachoPort
Constructor and Description |
---|
NXTRegulatedMotor(Port port)
Use this constructor to assign a variable of type motor connected to a particular port.
|
NXTRegulatedMotor(TachoMotorPort port)
Use this constructor to assign a variable of type motor connected to a particular port.
|
addListener, backward, close, endSynchronization, flt, flt, forward, getAcceleration, getLimitAngle, getMaxSpeed, getPosition, getRotationSpeed, getSpeed, getTachoCount, isMoving, isStalled, lock, removeListener, resetTachoCount, rotate, rotate, rotateTo, rotateTo, setAcceleration, setSpeed, setSpeed, setStallThreshold, startSynchronization, stop, stop, suspendRegulation, synchronizeWith, waitComplete
releaseOnClose
public NXTRegulatedMotor(TachoMotorPort port)
port
- to which this motor is connectedpublic NXTRegulatedMotor(Port port)
port
- to which this motor is connected