com.scottpreston.javarobot.chapter7
Class OutdoorNavigation

java.lang.Object
  extended by com.scottpreston.javarobot.chapter7.Navigation
      extended by com.scottpreston.javarobot.chapter7.OutdoorNavigation

public class OutdoorNavigation
extends Navigation


Field Summary
static double HOUSE_LAT
           
static double HOUSE_LON
           
static double MAILBOX_LAT
           
static double MAILBOX_LON
           
 
Fields inherited from class com.scottpreston.javarobot.chapter7.Navigation
DEFAULT_SPEED, RAW_FWD, RAW_LFT, RAW_REV, RAW_RGT, REL_EAST, REL_NORTH, REL_SOUTH, REL_WEST, surface, SURFACE_CARPET, SURFACE_CEMENT
 
Constructor Summary
OutdoorNavigation(JSerialPort serialPort)
           
 
Method Summary
static int latToInch(double d)
           
static int lonToInch(double d)
           
static void main(java.lang.String[] args)
           
 void move(GpsReading end)
           
 
Methods inherited from class com.scottpreston.javarobot.chapter7.Navigation
changeHeading, getDrive, getNavStamp, getRealAngle, getSpeed, getSurfaceRate, move, move, move, moveRaw, setSpeed, stop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HOUSE_LAT

public static double HOUSE_LAT

HOUSE_LON

public static double HOUSE_LON

MAILBOX_LAT

public static double MAILBOX_LAT

MAILBOX_LON

public static double MAILBOX_LON
Constructor Detail

OutdoorNavigation

public OutdoorNavigation(JSerialPort serialPort)
                  throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

move

public void move(GpsReading end)
          throws java.lang.Exception
Throws:
java.lang.Exception

lonToInch

public static int lonToInch(double d)

latToInch

public static int latToInch(double d)

main

public static void main(java.lang.String[] args)