tfg.motors
Class MotorEx

java.lang.Object
  extended by lejos.nxt.BasicMotor
      extended by lejos.nxt.Motor
          extended by tfg.motors.MotorEx

public class MotorEx
extends Motor

**********************************************************************
UNIFRA - Centro Universitário Franciscano
Graduação em Sistemas de Informação
Trabalho Final de Graduação, 1º Sem/2009
Orientador: Prof. MsC. Guilherme Dhein
Orientando: Douglas Pereira Pasqualin

COPYLEFT (Todos os direitos de reprodução autorizados deste que preservados
o nome da instituição e dos autores).
**********************************************************************


Classe que estende a classe padrão Motor do LeJOS, a fim de identificar e tratar possíveis falhas.

Version:
0.1
Author:
Douglas Pasqualin
See Also:
Motor

Nested Class Summary
 
Nested classes/interfaces inherited from class lejos.nxt.Motor
Motor.Regulator
 
Field Summary
static MotorEx A
           
static MotorEx B
           
static MotorEx C
           
 
Fields inherited from class lejos.nxt.Motor
_port, _rampUp, regulator
 
Constructor Summary
MotorEx(TachoMotorPort port)
           
 
Method Summary
 void forward()
           
 void stop()
           
 
Methods inherited from class lejos.nxt.Motor
backward, flt, getActualSpeed, getBasePower, getError, getLimitAngle, getMode, getPower, getSpeed, getStopAngle, getTachoCount, isMoving, isRegulating, isRotating, lock, regulateSpeed, resetTachoCount, reverseDirection, rotate, rotate, rotateTo, rotateTo, setBrakePower, setPower, setSpeed, shutdown, smoothAcceleration
 
Methods inherited from class lejos.nxt.BasicMotor
isBackward, isFloating, isForward, isStopped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

A

public static final MotorEx A

B

public static final MotorEx B

C

public static final MotorEx C
Constructor Detail

MotorEx

public MotorEx(TachoMotorPort port)
Method Detail

forward

public void forward()
Overrides:
forward in class Motor

stop

public void stop()
Overrides:
stop in class Motor