-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add information about spl rules to competition page * add audio section
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
The NAO has four microphones, which are located in the head. | ||
They support frequencies between 100 and 10,000 Hz. | ||
|
||
For more details, have a look at the [documentation](http://doc.aldebaran.com/2-8/family/nao_technical/microphone_naov6.html) by Aldebaran. | ||
|
||
The audio cycler contains only two nodes, the microphone recorder and the whistle detection. | ||
|
||
## Microphone Recorder | ||
|
||
Reads the audio samples from the `MicrophoneInterface` and stores them in the audio cycler [database](../../framework/databases_and_types.md). | ||
|
||
## Whistle Detection | ||
|
||
Detects the whistle. | ||
Similar to regular soccer, the referee uses a whistle to signal the start and end of the game. | ||
More details on that can be found in the official [SPL rules](https://spl.robocup.org/wp-content/uploads/SPL-Rules-master.pdf) | ||
|
||
The whistle detection works (simplified) by comparing the average power of the audio samples withthin a certain frequency band by using the [FFT](https://en.wikipedia.org/wiki/Fast_Fourier_transform). | ||
This approach is not very advanced but works well in practice. | ||
|
||
!!! tip | ||
|
||
The [Nao Devils](https://naodevils.de/) have put a lot of research into this topic and published datasets and [papers](https://naodevils.de/publications.html) regarding whistle detection and whistle localization. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters