koala
Interface KoalaSensors
- All Known Implementing Classes:
- Koala
public interface KoalaSensors
Interface comprising the Koala method calls that relate to sensors and
some miscellaneous ones. This is an arbitrary division since the motors
and sensors are ultimately always implemented by a single Koala object.
For the same reason, refer to Koala for documentation.
readProximitySensors
KoalaSensorReading readProximitySensors()
readAmbientSensors
KoalaSensorReading readAmbientSensors()
getBatteryTimeLeft
int getBatteryTimeLeft()
getTemperature
int getTemperature()
getBatteryCharge
int getBatteryCharge()
getBatteryTemperature
int getBatteryTemperature()
getBatteryVoltage
int getBatteryVoltage()
getConsumptionCurrent
int getConsumptionCurrent()
getSoftwareVersion
java.lang.String getSoftwareVersion()
readAnalogueInput
int readAnalogueInput(int channel)
readDigitalInput
int readDigitalInput(int channel)
setDigitalOutput
int setDigitalOutput(int channel,
int state)
setMotorPosition
int setMotorPosition(int left,
int right)
setLEDState
int setLEDState(int ledNumber,
int state)
turnLEDOn
int turnLEDOn(int led)
turnLEDOff
int turnLEDOff(int led)