cz.cuni.amis.pogamut.usar2004.agent.module.sensor
Class SensorSound
java.lang.Object
cz.cuni.amis.pogamut.usar2004.agent.module.sensor.SuperSensor
cz.cuni.amis.pogamut.usar2004.agent.module.sensor.SensorSound
public class SensorSound
- extends SuperSensor
Sensor message representative for Sound sensor.
- Author:
- vejmanm
|
Method Summary |
double |
getDuration()
Duration of a sound from the sound sensor. |
double |
getLoudness()
Loudnes from the sound sensor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
public static final SensorType type
SensorSound
public SensorSound()
- Ctor. Sensor type describes particular subject about which we want to
know about. It is used to distinguish incoming message from the server.
getLoudness
public double getLoudness()
- Loudnes from the sound sensor.
- Returns:
- Returns loundness of a sound.
getDuration
public double getDuration()
- Duration of a sound from the sound sensor.
- Returns:
- Returns a drutaion of a sound.
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.