Skip to content

Commit 2643a2c

Browse files
committed
bug #311: addind troubleshooting section
1 parent 8bab0fe commit 2643a2c

File tree

2 files changed

+73
-0
lines changed

2 files changed

+73
-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: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Troubleshooting
2+
3+
## No microphone input
4+
*For beta only*
5+
6+
There is a known issue where the microphone can be badly initialized. The best way to solve 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 eveything is fine.
13+
14+
If the problem persist, you may want to check the connection of the flex cables ([slides 45 to 47](https://huggingface.co/spaces/pollen-robotics/Reachy_Mini_Assembly_Guide)).
15+
16+
## Sound Direction of Arrival is not working
17+
18+
*For beta only*
19+
20+
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.
21+
22+
Refer to [Seeed documentation](https://wiki.seeedstudio.com/respeaker_xvf3800_introduction/#update-firmware) for the upgrade process.
23+
24+
## Volume is too low
25+
26+
27+
# Troubleshooting
28+
29+
## No Microphone Input
30+
*For beta only*
31+
32+
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):
33+
34+
```bash
35+
xvf_host(.exe) REBOOT 1
36+
```
37+
38+
Then run [examples/debug/sound_record.py](../examples/debug/sound_record.py) to check that everything is working properly.
39+
40+
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)).
41+
42+
## Sound Direction of Arrival Not Working
43+
*For beta only*
44+
45+
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`.
46+
47+
Refer to the [Seeed documentation](https://wiki.seeedstudio.com/respeaker_xvf3800_introduction/#update-firmware) for the upgrade process.
48+
49+
## Volume Is Too Low
50+
*Linux only*
51+
52+
Check with `alsamixer` that PCM1 is set to 100%. Then use PCM,0 to adjust the volume.
53+
54+
To make this change permanent:
55+
```bash
56+
CARD=$(aplay -l | grep -i "reSpeaker XVF3800 4-Mic Array" | head -n1 | sed -n 's/^card \([0-9]*\):.*/\1/p')
57+
amixer -c "$CARD" set PCM,1 100%
58+
sudo alsactl store "$CARD"
59+
```
60+
61+
## Circular Buffer Overrun Warning
62+
63+
When starting a client with `with ReachyMini() as mini:` in Mujoco (--sim mode), you may see the following warning:
64+
65+
```bash
66+
Circular buffer overrun. To avoid, increase fifo_size URL option. To survive in such case, use overrun_nonfatal option
67+
```
68+
69+
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)