com.scottpreston.javarobot.chapter7
Class IndoorNavigation

java.lang.Object
  extended by com.scottpreston.javarobot.chapter7.Navigation
      extended by com.scottpreston.javarobot.chapter7.Localization
          extended by com.scottpreston.javarobot.chapter7.ObstacleNavigation
              extended by com.scottpreston.javarobot.chapter7.IndoorNavigation

public class IndoorNavigation
extends ObstacleNavigation


Field Summary
 
Fields inherited from class com.scottpreston.javarobot.chapter7.Localization
ROBOT_RADIUS
 
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
IndoorNavigation(JSerialPort serialPort, Room room)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void move(java.lang.String end)
           
 
Methods inherited from class com.scottpreston.javarobot.chapter7.ObstacleNavigation
move
 
Methods inherited from class com.scottpreston.javarobot.chapter7.Localization
getDistanceVector, getFourCoordinates, getSonarServos, getStart, getStart2, move, move
 
Methods inherited from class com.scottpreston.javarobot.chapter7.Navigation
changeHeading, getDrive, getNavStamp, getRealAngle, getSpeed, getSurfaceRate, move, move, moveRaw, setSpeed, stop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndoorNavigation

public IndoorNavigation(JSerialPort serialPort,
                        Room room)
                 throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

move

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

main

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