ch.unizh.ini.jaer.projects.robothead.robotcontrol
Class Koala
java.lang.Object
ch.unizh.ini.jaer.projects.robothead.robotcontrol.Koala
public class Koala
- extends java.lang.Object
Constructor Summary |
Koala(boolean ColDetect)
Creates a new instance of Koala |
Method Summary |
boolean |
close()
|
int[] |
getMotorPos()
|
int[] |
getMotorSpeeds()
|
int[] |
getSensors()
|
boolean |
gotoMotorPos(int left,
int right)
|
boolean |
init(int port,
int baud,
int databits,
int parity,
int stop)
|
boolean |
setMotorPos(int left,
int right)
|
boolean |
setMotorSpeeds(int left,
int right)
|
int[] |
stringToInt(java.lang.String Input,
java.lang.String Separator,
java.lang.String EndMark,
int StartPos,
int MaxElem)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Koala
public Koala(boolean ColDetect)
- Creates a new instance of Koala
init
public boolean init(int port,
int baud,
int databits,
int parity,
int stop)
close
public boolean close()
setMotorSpeeds
public boolean setMotorSpeeds(int left,
int right)
getMotorSpeeds
public int[] getMotorSpeeds()
getMotorPos
public int[] getMotorPos()
setMotorPos
public boolean setMotorPos(int left,
int right)
gotoMotorPos
public boolean gotoMotorPos(int left,
int right)
getSensors
public int[] getSensors()
stringToInt
public int[] stringToInt(java.lang.String Input,
java.lang.String Separator,
java.lang.String EndMark,
int StartPos,
int MaxElem)