Deprecated API


Contents
Deprecated Classes
lejos.robotics.navigation.CompassPilot
          This class will disappear in NXJ version 1.0. Compass should be added to a PoseProvider. 
lejos.robotics.navigation.LegacyNavigator
          This class will disappear in NXJ version 1.0. Use a PathController instead. 
lejos.robotics.navigation.LegacyPilot
          This class will disappear in NXJ version 1.0. Use an implementing class of MoveController instead. 
lejos.pc.comm.SystemContext
          will be replaced 
 

Deprecated Fields
lejos.robotics.navigation.DifferentialPilot._left
          Access to this field will be private in NXJ version 1.0 when the CompassPilot is removed. 
lejos.robotics.navigation.DifferentialPilot._leftDegPerDistance
          Access to this field will be private in NXJ version 1.0 when the CompassPilot is removed. 
lejos.robotics.navigation.DifferentialPilot._outside
          Access to this field will be private in NXJ version 1.0 when the CompassPilot is removed. 
lejos.robotics.navigation.DifferentialPilot._right
          Access to this field will be private in NXJ version 1.0 when the CompassPilot is removed. 
lejos.robotics.navigation.DifferentialPilot._rightDegPerDistance
          Access to this field will be private in NXJ version 1.0 when the CompassPilot is removed. 
lejos.robotics.navigation.DifferentialPilot._type
          Access to this field will be private in NXJ version 1.0 when the CompassPilot is removed. 
 

Deprecated Methods
lejos.nxt.addon.RCXLightSensor.activate()
          Use RCXLightSensor.setFloodlight(boolean) with true instead 
lejos.robotics.navigation.DifferentialPilot.getAngleIncrement()
          Access to this method will be private in NXJ version 1.0 when the CompassPilot is removed and ArcNavigator sample will need to be updated to not use these methods. 
lejos.robotics.navigation.ArcAlgorithms.getArcOld(Point, Point, double)
          This method is no longer used because it can't calculate >180 angles. Delete any time. 
lejos.nxt.remote.RemoteMotor.getBlockTacho()
            
lejos.robotics.navigation.LegacyPilot.getMoveMaxSpeed()
           
lejos.robotics.navigation.DifferentialPilot.getMovementIncrement()
          Access to this method will be private in NXJ version 1.0 when the CompassPilot is removed and ArcNavigator sample will need to be updated to not use these methods. 
lejos.robotics.navigation.LegacyPilot.getMoveSpeed()
           
lejos.nxt.remote.RemoteMotor.getRotationCount()
            
lejos.nxt.addon.NXTLineLeader.getSensorStatus(int)
            
lejos.robotics.navigation.LegacyPilot.getTurnSpeed()
           
lejos.util.jni.OSInfo.main(String[])
          don't call it, only used for debugging/user assistance 
lejos.robotics.navigation.DifferentialPilot.movementStart(boolean)
          Access to this method will be private in NXJ version 1.0 when the CompassPilot is removed. 
lejos.nxt.addon.RCXLightSensor.passivate()
          Use RCXLightSensor.setFloodlight(boolean) with false instead 
lejos.nxt.addon.RCXLightSensor.readValue()
          Use RCXLightSensor.getLightValue() instead 
lejos.nxt.remote.RemoteMotor.resetBlockTacho()
            
lejos.nxt.addon.NXTLineLeader.sendCommand(char)
          use NXTLineLeader.sendCommand(Command) instead 
lejos.nxt.I2CSensor.setAddress(int)
          If the device has a changeable address, then constructor of the class should have an address parameter. If not, please report a bug. 
lejos.robotics.navigation.LegacyPilot.setMoveSpeed(float)
           
lejos.robotics.navigation.LegacyPilot.setSpeed(int)
          in 0.8, use setRotateSpeed() and setTravelSpeed(). The method was deprecated, as this it requires knowledge of the robots physical construction, which this interface should hide! 
lejos.robotics.navigation.LegacyPilot.setTurnSpeed(float)
           
lejos.robotics.navigation.DifferentialPilot.steerPrep(double)
          Access to this method will be private in NXJ version 1.0 when the CompassPilot is removed. 
 

Deprecated Constructors
lejos.robotics.navigation.LegacyNavigator(float, float, RegulatedMotor, RegulatedMotor)
          The correct way is to create the Pilot in advance and to use that in construction of the LegacyNavigator. Otherwise the LegacyNavigator needs to know detail it should not care about! 
lejos.robotics.navigation.LegacyNavigator(float, float, RegulatedMotor, RegulatedMotor, boolean)
          The correct way is to create the Pilot in advance and to use that in construction of the LegacyNavigator. Otherwise the LegacyNavigator needs to know detail it should not care about!