bot_box
bot_box copied to clipboard
Does not work with Raspberry Pi Camera Module 3
Hi,
I am trying to run this on Raspberry pi OS 64 bit (thanks for the update!) on a Pi4 with Camera Module 3, and a HDMI display.
On startup, it connects to the web portal, then immediately crashes with a GetUserMedia error. Here is the debug output:
2023/09/17 11:51:56 Arena: WS connected
2023/09/17 11:51:56 GetUserMedia error inappropriate ioctl for device
panic: inappropriate ioctl for device
goroutine 37 [running]:
github.com/roboportal/bot_box/pkg/arena.(*AnArena).Run(0x400011da00)
/home/pi/bot_box/pkg/arena/arena.go:220 +0x1c10
created by main.main in goroutine 1
/home/pi/bot_box/main.go:167 +0x8b4
With legacy camera support enabled instead, I get a similar error, though not exactly the same.
2023/09/17 11:58:45 GetUserMedia error Failed to start streaming: invalid argument
panic: Failed to start streaming: invalid argument
goroutine 23 [running]:
github.com/roboportal/bot_box/pkg/arena.(*AnArena).Run(0x40000ad860)
/home/pi/bot_box/pkg/arena/arena.go:220 +0x1c10
created by main.main in goroutine 1
/home/pi/bot_box/main.go:167 +0x8b4