How miofelix/intelligent-rescue-2025 works
The product is a dual-core intelligent rescue robot: Jetson vision and a finite-state mission controller identify and approach balls, grab them, locate a placement zone, and release; UART carries motion and servo commands to STM32 firmware. The README documents YOLO recognition, PID-guided grasping, and reliable UART communication. Sampled source confirms the Jetson orchestration and STM32 timer callback’s hardware-control calls; other firmware relationships are limited to README and source-index evidence.
Main entry points: main.py Rescue FSM · callback.c Timer and command handler · vision.py Detection and filtering · control.py Visual motion control
Components 15
Jetson autonomy
- Rescue FSM
jetson/main.py - Mission configuration
jetson/config.py - Detection and filtering
jetson/vision.py - Video stream
jetson/vision.py - Visual motion control
jetson/control.py
Command link
- UART packet protocol
jetson/uart.py
STM32 firmware
- STM32 UART driver
stm32/hardware/uart.c - Timer and command handler
stm32/system/callback.c - Motor PID and drivers
stm32/hardware/motor.c - Servo control
stm32/hardware/servo.c - OLED status display
stm32/hardware/oled.c - Display fonts
stm32/hardware/font.c
Other components
- Mission operator
- Camera
- YOLO model
Connections 18
- Mission operator → Rescue FSM: starts mission
README.md - Camera → Video stream: provides frames
README.md - Video stream → Rescue FSM: supplies frames
jetson/main.py - Rescue FSM → YOLO model: runs inference
jetson/main.py - Rescue FSM → Detection and filtering: uses detections
jetson/main.py - Rescue FSM → Visual motion control: commands movement
jetson/main.py - Visual motion control → UART packet protocol: inherits control
jetson/control.py - Rescue FSM → Mission configuration: uses settings
jetson/main.py - Detection and filtering → Mission configuration: uses thresholds
jetson/vision.py - UART packet protocol → STM32 UART driver: sends commands
README.md - STM32 UART driver → Timer and command handler: delivers commands
stm32/hardware/uart.c - Timer and command handler → STM32 UART driver: reads command
stm32/system/callback.c - Timer and command handler → Motor PID and drivers: updates motor PID
stm32/system/callback.c - Timer and command handler → Servo control: sets angles
stm32/system/callback.c - Timer and command handler → OLED status display: renders status
stm32/system/callback.c - OLED status display → Display fonts: uses glyphs
- Rescue FSM → Detection and filtering: checks grasp and zone
jetson/main.py - Rescue FSM → Visual motion control: grabs and releases
README.md