roombacomm
Class SpySimple
java.lang.Object
roombacomm.SpySimple
public class SpySimple
- extends java.lang.Object
Spy on the Roomba as it goes about its normal business
Run it with something like:
java roombacomm.SpySimple /dev/cu.KeySerial1
Usage:
roombacomm.SpySimple serialportname [protocol] [options]
where: protocol (optional) is SCI or OI
[options] can be one or more of:
-pause n -- pause n millseconds between sensor read
-debug -- turn on debug output
-hwhandshake -- use hardware-handshaking, for Windows Bluetooth
-nohwhandshake -- don't use hardware-handshaking
-flush -- flush on sends(), normally not needed *
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpySimple
public SpySimple()
main
public static void main(java.lang.String[] args)
printSensors
public static void printSensors(RoombaCommSerial rc)
keyIsPressed
public static boolean keyIsPressed()
- check for keypress, return true if so