Skip to content

ModaHarsh/robot-coordinator

Repository files navigation

robot-coordinator

UDP → packet parser → router → WaveGo dog (UART JSON) + LEDs (placeholder)

Run on Pi

sudo apt update
sudo apt install -y git python3-pip
pip3 install -r requirements.txt
DRY_RUN=0 python3 main.py




---

## What NOT to do right now
Don’t touch NRF24 libraries yet. Your deadline path is:
1) Pi boots + Wi-Fi + SSH
2) run coordinator with UDP
3) then LEDs real WS2812
4) then WaveGo UART
5) NRF24 only if extra time

---

When the SD write finishes and you boot the Pi, your next goal is simply:
- get an IP
- SSH in
- git clone / copy repo
- run `DRY_RUN=0 python3 main.py`
- send packets using `tools/send_udp.py`

If you paste me your **current `scripts/run.sh` contents** and whether you’ve added `tools/send_udp.py`, I’ll confirm you’re ready for the Pi step.


## Safety (READ BEFORE RUNNING REAL MOTION)

All dog commands are protected by a safety lock.

Default:
- `DRY_RUN=1`
- `SAFETY_LOCK=1`

To run against real hardware you must explicitly do:
```bash
export DRY_RUN=0
export SAFETY_LOCK=0
export DOG_SERIAL_PORT=/dev/serial0
export DOG_BAUD=115200

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published