How projeto-bombeiros/project_repository works
BLAZE is a firefighting robot prototype with a PC operator application and ESP32 firmware. The principal workflow is selecting a saved hardware/vision profile, preparing a matching firmware configuration, then operating or monitoring the robot over USB/Wi‑Fi while camera-based vision can support autonomous aiming. The graph includes the documented profile, hardware-catalog, sensing, motion, cannon and communications stages. Several runtime internals are unsampled, and the README provided no content, so uncertain links are dashed rather than asserted.
Main entry points: main.cpp Firmware cycle · launcher.py Setup launcher · runtime.py PC runtime · types.h Command and reports
Components 20
PC operator
- Setup launcher
Prototipo v0.2/pc_operador/launcher.py - Operator console
Prototipo v0.2/pc_operador/central_operador.py - PC runtime
Prototipo v0.2/pc_operador/runtime.py - Camera and vision
Prototipo v0.2/pc_operador/runtime.py - ESP connection
Prototipo v0.2/pc_operador/runtime.py
Profiles and hardware
- Profile manager
Prototipo v0.2/pc_operador/profile_manager.py - Actuator catalog
Prototipo v0.2/pc_operador/actuator_catalog.py - Profile defaults
Prototipo v0.2/pc_operador/parameters_setups/defaults
ESP32 firmware
- Firmware cycle
Prototipo v0.2/esp32/src/main.cpp - Command and reports
Prototipo v0.2/esp32/include/types.h - Safety and state
Prototipo v0.2/esp32/src/central.h - Network link
Prototipo v0.2/esp32/src/net_link.h - Track motion
Prototipo v0.2/esp32/src/motion.h - Cannon and jet
Prototipo v0.2/esp32/src/cannon_jet.h - Sensors and cooling
Prototipo v0.2/esp32/src/sensing_safety.h - PWM compatibility
Prototipo v0.2/esp32/src/pwm_compat.h
Robot interfaces
- GPIO pin map
Prototipo v0.2/esp32/include/pins.h - Robot actuators and sensors
Other components
- Operator
- Camera source
Connections 27
- Operator → Setup launcher: selects setup
- Setup launcher → Profile manager: prepares profile
Prototipo v0.2/pc_operador/launcher.py - Profile manager → Profile defaults: loads defaults
Prototipo v0.2/pc_operador/profile_manager.py - Profile manager → Actuator catalog: validates hardware
Prototipo v0.2/pc_operador/profile_manager.py - Setup launcher → PC runtime: starts runtime
Prototipo v0.2/pc_operador/launcher.py - Setup launcher → Operator console: opens console
Prototipo v0.2/pc_operador/launcher.py - Operator console → PC runtime: uses runtime
Prototipo v0.2/pc_operador/central_operador.py - Setup launcher → Camera and vision: creates camera
Prototipo v0.2/pc_operador/launcher.py - Setup launcher → ESP connection: creates connection
Prototipo v0.2/pc_operador/launcher.py - Camera source → Camera and vision: supplies frames
- Camera and vision → PC runtime: provides vision results
Prototipo v0.2/pc_operador/runtime.py - PC runtime → ESP connection: sends commands
Prototipo v0.2/pc_operador/runtime.py - ESP connection → Network link: exchanges telemetry
- Firmware cycle → Network link: polls and transmits
Prototipo v0.2/esp32/src/main.cpp - Firmware cycle → Safety and state: observes state
Prototipo v0.2/esp32/src/main.cpp - Firmware cycle → Track motion: initializes motion
Prototipo v0.2/esp32/src/main.cpp - Firmware cycle → Cannon and jet: initializes cannon
Prototipo v0.2/esp32/src/main.cpp - Firmware cycle → Sensors and cooling: initializes sensing
Prototipo v0.2/esp32/src/main.cpp - Network link → Command and reports: uses command types
Prototipo v0.2/esp32/src/net_link.h - Track motion → Command and reports: uses command types
Prototipo v0.2/esp32/src/motion.h - Cannon and jet → Command and reports: uses report types
Prototipo v0.2/esp32/src/cannon_jet.h - Sensors and cooling → Command and reports: uses safety reports
Prototipo v0.2/esp32/src/sensing_safety.h - Track motion → Robot actuators and sensors: drives tracks
- Cannon and jet → Robot actuators and sensors: commands actuators
- Sensors and cooling → Robot actuators and sensors: reads sensors
- GPIO pin map → Robot actuators and sensors: maps GPIO
Prototipo v0.2/esp32/include/pins.h - Firmware cycle → PWM compatibility: uses PWM helpers
Prototipo v0.2/esp32/src/main.cpp