Location on Pi: ~/EDTH2025/Erewhon/src/robots/rover
# Activate virtual environment + set paths
act-env
# Or manually:
cd ~/EDTH2025/Erewhon
source venv/bin/activate
export PYTHONPATH=~/EDTH2025/Erewhon/lerobot/src:$PYTHONPATHAll commands below assume the environment is activated!
cd ~/EDTH2025/Erewhon/src/robots/rover
python src/inference/act_inference_quantized.py \
--checkpoint models/best_model_static_quantized.pth \
--benchmark \
--iterations 1000Expected:
- Mean latency: 25-35 ms
- P95 latency: <50 ms
- Control rate: 25-30 Hz ✅
python src/inference/act_inference_quantized.py \
--checkpoint models/best_model_static_quantized.pth \
--camera_id 0Press 'q' to quit.
python src/inference/act_inference_quantized.py \
--checkpoint models/best_model_static_quantized.pth \
--camera_id 0 \
--arduino_port /dev/ttyUSB0 \
--control_freq 30# Check model exists and size
ls -lh models/
# Should show: best_model_static_quantized.pth (~85 MB)sudo usermod -a -G video $USER
# Then log out and back insudo usermod -a -G dialout $USER
# Then log out and back inls /dev/video*ls /dev/ttyUSB* /dev/ttyACM*See: ~/EDTH2025/Erewhon/DEPLOYMENT.md or development machine docs.