roombacomm
Class BumpTurn

java.lang.Object
  extended by roombacomm.BumpTurn

public class BumpTurn
extends java.lang.Object

Read sensors to detect bumps and turn away from them while driving

Run it with something like:

   java roombacomm.BumpTurn /dev/cu.KeySerial1
  


Constructor Summary
BumpTurn()
           
 
Method Summary
static boolean keyIsPressed()
          check for keypress, return true if so
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BumpTurn

public BumpTurn()
Method Detail

main

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

keyIsPressed

public static boolean keyIsPressed()
check for keypress, return true if so