How dhusyanth14/forest-fire-uav works
Forest fire identification, detection, prediction, and quenching simulation. The principal workflow builds terrain and changing weather/fuel conditions, produces IoT risk maps and UAV patrols, simulates a hidden fire during camera passes, detects and stitches thermal observations, predicts spread from detected cells, then plans and evaluates a retardant wall. The pipeline is the orchestration layer. Relationships are grounded in the README workflow and the pipeline/source-index references; sampled excerpts are partial, so unsampled internal calls are not inferred beyond those sources.
Main entry points: pipeline.py Run Orchestrator · plot_style.py Shared Plot Styling · collect.py Camera Pass Collection · fire_model.py Fire Spread Model
Components 12
Environment
- Terrain and Fuel
forestfire/forest_env.py - Weather and Dryness
forestfire/env_dynamics.py
Sensing and Patrol
- IoT Risk Mapping
forestfire/stage1_iot.py - UAV Patrol Planner
forestfire/uav_planner.py - Grid Imagery and Temperatures
forestfire/grid_data.py - Camera Pass Collection
forestfire/collect.py - Thermal Fire Detection
forestfire/detect.py
Fire Response
- Fire Spread Model
forestfire/fire_model.py - Wall and Fleet Planning
forestfire/quench.py
Pipeline and Support
- Run Orchestrator
forestfire/pipeline.py - Shared Plot Styling
forestfire/plot_style.py
Other components
- CLI Operator
Connections 26
- CLI Operator → Run Orchestrator: starts run
- Run Orchestrator → Terrain and Fuel: uses terrain
forestfire/pipeline.py - Run Orchestrator → Weather and Dryness: uses conditions
forestfire/pipeline.py - Run Orchestrator → IoT Risk Mapping: runs sensing
README.md - Run Orchestrator → UAV Patrol Planner: plans patrol
forestfire/pipeline.py - Run Orchestrator → Grid Imagery and Temperatures: prepares grids
README.md - Run Orchestrator → Camera Pass Collection: collects passes
README.md - Run Orchestrator → Thermal Fire Detection: runs detection
README.md - Run Orchestrator → Fire Spread Model: runs simulation
forestfire/pipeline.py - Run Orchestrator → Wall and Fleet Planning: plans response
README.md - IoT Risk Mapping → Weather and Dryness: uses conditions
forestfire/stage1_iot.py - Weather and Dryness → Terrain and Fuel: uses fuel map
forestfire/env_dynamics.py - UAV Patrol Planner → Terrain and Fuel: uses terrain
forestfire/uav_planner.py - Camera Pass Collection → UAV Patrol Planner: reads flight trace
forestfire/collect.py - Camera Pass Collection → Grid Imagery and Temperatures: uses grid data
forestfire/collect.py - Camera Pass Collection → Fire Spread Model: overlays true fire
README.md - Thermal Fire Detection → Camera Pass Collection: scans pass workbooks
README.md - Fire Spread Model → Terrain and Fuel: uses fuel and elevation
forestfire/fire_model.py - Wall and Fleet Planning → Fire Spread Model: evaluates barriers
README.md - Run Orchestrator → Shared Plot Styling: uses plotting helpers
forestfire/pipeline.py - Terrain and Fuel → Shared Plot Styling: uses plot style
forestfire/forest_env.py - Weather and Dryness → Shared Plot Styling: uses plot style
forestfire/env_dynamics.py - IoT Risk Mapping → Shared Plot Styling: uses plot style
forestfire/stage1_iot.py - UAV Patrol Planner → Shared Plot Styling: uses plot style
forestfire/uav_planner.py - Fire Spread Model → Shared Plot Styling: uses plot style
forestfire/fire_model.py - Wall and Fleet Planning → Shared Plot Styling: uses plot style
forestfire/quench.py