#include <Sbot.h>
Inheritance diagram for Enki::SbotMicrophone:

This microphone checks whether there are sounds coming from sound-emitting objects, and also other s-bots
Public Member Functions | |
| SbotMicrophone (Robot *owner, double micDist, double range, MicrophoneResponseModel micModel, unsigned channels) | |
| Constructor e.g. | |
| void | objectStep (double dt, PhysicalObject *po, World *w) |
| Check for local interactions with other physical objects. | |
| Enki::SbotMicrophone::SbotMicrophone | ( | Robot * | owner, | |
| double | micDist, | |||
| double | range, | |||
| MicrophoneResponseModel | micModel, | |||
| unsigned | channels | |||
| ) | [inline] |
Constructor e.g.
: FourWayMic(this, 0.5, 5, micStepModel, 20); meaning: the 4 mics are 0.5 away from robot center, can hear sounds up to ! 5 units away, uses a step model to detect sounds and can distinguish 20 frequencies
1.5.1