does anybody know the code to make a roomba follow a wall. we are using a Java based program. the code to make the roomba go is roombacomm.drive([speed],[radius]). we are trying to get the roomba to follow a wall, either left or right, to get out of a maze.
some other samples of our code:
if ( roombacomm.bumpLeft()) {
roombacomm.pause(200);
roombacomm.spinRight(90); }
roombacomm.pause([duration]);
thank you for your help.
2007-02-20
03:20:34
·
1 answers
·
asked by
Jason S
3
in
Computers & Internet
➔ Programming & Design