How howellwang04/grad-app-project-fireflies works
Project Fireflies combines embedded firefly/swarm firmware with a Unity control project; the documentation tree also indicates network setup and radar-sensor materials. The supplied source excerpts establish the swarm-to-firefly calls, but do not show the firmware entry point, Unity message handling, or hardware wiring, so those connections are omitted rather than inferred.
Main entry points: FireflySwarm.cpp Swarm state and sync · Firefly.cpp Firefly motion and blink
Components 13
Firmware simulation
- Firmware entry
firmware/fireflies_main/fireflies_main.ino - Swarm state and sync
firmware/fireflies_main/FireflySwarm.cpp - Firefly motion and blink
firmware/fireflies_main/Firefly.cpp - Swarm configuration
firmware/fireflies_main/FireflySwarm.h - Firefly configuration
firmware/fireflies_main/Firefly.h
Unity control
- Swarm UI
unity/FirefliesControl/Assets/Scripts/SwarmSyncControlUI.cs - ESP32 UDP receiver
unity/FirefliesControl/Assets/Scripts/Esp32UdpReceiver.cs - Communication scene
unity/FirefliesControl/Assets/Scenes/Communication.unity
Devices and network
- ESP32 device
- LED array
- LD2410B radar
- Network setup
docs/en/network_setup.md
Other components
- Operator
Connections 1
- Swarm state and sync → Firefly motion and blink: updates flies