Skip to content

Commit 9c6b3dd

Browse files
committed
Merge branch 'develop' into 397-no-input-sound---badly-initialized-microphones
2 parents 2503dfd + 010c217 commit 9c6b3dd

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,10 @@ pre-commit run --all-files
225225

226226
Checks are performed by Ruff. You may want to [configure your IDE to support it](https://docs.astral.sh/ruff/editors/setup/).
227227

228+
## Troubleshooting
229+
230+
see [dedicated section](docs/troubleshooting.md)
231+
228232
## License
229233

230234
This project is licensed under the Apache 2.0 License - see the [LICENSE](LICENSE) file for details.

docs/troubleshooting.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Troubleshooting
2+
3+
## No Microphone Input
4+
*For beta only*
5+
6+
There is a known issue where the microphone may not initialize correctly. The best way to resolve this is to reboot the microphone array using [xvf_host](https://github.com/respeaker/reSpeaker_XVF3800_USB_4MIC_ARRAY/tree/master/host_control):
7+
8+
```bash
9+
xvf_host(.exe) REBOOT 1
10+
```
11+
12+
Then run [examples/debug/sound_record.py](../examples/debug/sound_record.py) to check that everything is working properly.
13+
14+
If the problem persists, check the connection of the flex cables ([see slides 45 to 47](https://huggingface.co/spaces/pollen-robotics/Reachy_Mini_Assembly_Guide)).
15+
16+
## Sound Direction of Arrival Not Working
17+
*For beta only*
18+
19+
The microphone array requires firmware version 2.1.0 or higher to support this feature. The firmware is located in `src/reachy_mini/assets/firmware/*.bin`.
20+
21+
Refer to the [Seeed documentation](https://wiki.seeedstudio.com/respeaker_xvf3800_introduction/#update-firmware) for the upgrade process.
22+
23+
## Volume Is Too Low
24+
*Linux only*
25+
26+
Check with `alsamixer` that PCM1 is set to 100%. Then use PCM,0 to adjust the volume.
27+
28+
To make this change permanent:
29+
```bash
30+
CARD=$(aplay -l | grep -i "reSpeaker XVF3800 4-Mic Array" | head -n1 | sed -n 's/^card \([0-9]*\):.*/\1/p')
31+
amixer -c "$CARD" set PCM,1 100%
32+
sudo alsactl store "$CARD"
33+
```
34+
35+
## Circular Buffer Overrun Warning
36+
37+
When starting a client with `with ReachyMini() as mini:` in Mujoco (--sim mode), you may see the following warning:
38+
39+
```bash
40+
Circular buffer overrun. To avoid, increase fifo_size URL option. To survive in such case, use overrun_nonfatal option
41+
```
42+
43+
This message comes from FFmpeg (embedded in OpenCV) while consuming the UDP video stream. It appears because the frames are not being used, causing the buffer to fill up. If you do not intend to use the frames, set `ReachyMini(media_backend="no_media")` or `ReachyMini(media_backend="default_no_video")`.

0 commit comments

Comments
 (0)