I can't use the docker to run esp32
when I use the "docker run -p 3000:3000 -p 5005:5005/udp ruvnet/wifi-densepose:latest --source esp32" ,the response is "/bin/sh: 0: Illegal option --". how can I slove it?
Command Syntax Issue
The error /bin/sh: 0: Illegal option -- indicates the arguments aren't being passed correctly to the container.
Correct Usage
The Docker image uses ENTRYPOINT ["/bin/sh", "-c"] with a shell-form CMD, so you need to pass arguments via environment variable, not command-line flags:
docker run -p 3000:3000 -p 5005:5005/udp \
-e CSI_SOURCE=esp32 \
ruvnet/wifi-densepose:latest
Important Notes
-
ESP32 UDP requires host networking or proper port forwarding:
docker run --network host \ -e CSI_SOURCE=esp32 \ ruvnet/wifi-densepose:latest -
Your ESP32 must be configured to send CSI data to your Docker host's IP (not localhost). Use
provision.pyto set the target IP:python provision.py --port /dev/ttyUSB0 \ --ssid "YourWiFi" --password "YourPass" \ --target-ip <YOUR_HOST_IP> -
Verify data is arriving:
# Listen for UDP packets nc -ul 5005 | hexdump -C
The container defaults to CSI_SOURCE=auto which will probe for ESP32 UDP frames, then fall back to simulation if none are detected within 5 seconds.
Thank you for your reply. I have resolved all the previous issues and obtained the data correctly.
However, I found that when using the default modes (including no model and the two built-in models), the total number of people detected is always only two, and the movement always flickers and teleports.
Even after recording four types of data and starting training (with a score greater than 0.6), this problem has not been resolved. What should my next steps be?
same this happening with me it says 10 fps
Closing as stale. For ESP32 + Docker setup, see the v0.5.3 release notes. The sensing server can also be run natively without Docker: cd rust-port/wifi-densepose-rs && cargo run --release -p wifi-densepose-sensing-server -- --source esp32