# Forest Firefighte...
Clear all

# Forest Firefighters

# Forest Firefighters This simulation features a small forest wildfire and a few firefighter robots: a couple of drones and legged robots equipped with cameras. Users can run the wildfire simulation and program the behavior of the robots to fight the fire. They can also improve the models of the robot and even design new ones. ![fire]( Connect at for more information about this project. # Demo Videos This video shows a wildfire propagating into one tree until the tree is completely burnt: This video shows a Mavic Pro 2 that fights against a wildfire (speed x2): # Creating Your Own Firefighter Robots In order to contribute to this simulation by developing your own robot models and program their behavior you will have to follow these steps: 1. download and install [Webots]( on your computer. 2. install [python 3.8]( on your computer if not already installed. 3. follow the [Webots Tutorials]( to get familiar with the software. 4. [clone]( this repository on your computer: `git clone` or download it from [here]( and unzip it. 5. run the simulation by opening the [forest_firefighter.wbt](worlds/forest_firefighter.wbt) world file in Webots. 6. edit the robot controllers to change their behavior. 7. create new robot models (or improve existing ones) and use them in the simulation. For steps 6 and 7, please refer to the Webots [User Guide]( and [Reference Manual]( to get started with robot programming and robot modeling. # Technical Details ## Forest Generation An efficient and customizable forest can be generated using the proto `protos/UnevenForest.proto`. The size of the trees, the dimension and the density of the forest are all parameters of the proto. Half burned forest using the forest generator: ![burned]( ## Fire The fire starts randomly at one of the trees of the forest. It propagates randomly and according to the wind to other trees close to it. The fire of a tree stops naturally once the tree is completely burned. If some water dropped by a robot goes sufficiently close to a tree on fire and if the fire is not too big compared to the amount of water dropped, it extinguishes the fire instantly. The fire is run by a supervisor which can be found in [controllers/fire/](controllers/fire/ Some fire parameters can be changed in this file: - `Fire.MAX_PROPAGATION`: the maximum distance that the fire can propagate in meter. - `Fire.MAX_EXTINCTION`: the maximum distance from which water can extinguish the fire. - `Fire.FIRE_DURATION`: the duration of a fire to consume a tree completely. - `Wind.INTENSITY_EVOLVE`: the speed at which the intensity of the wind evolve. - `Wind.ANGLE_EVOLVE`: the speed at which the angle of the wind evolve. - `Wind.RANDOM_EVOLUTION`: true if there the wind evolves randomly, false otherwise. - `Tree.ROBUSTNESS_VARIATION`: the variation in the robustness of the trees (if a tree is more robust, it is less likely to burn). ## Wind Window The Wind window allows the user to modify the intensity and the direction of the wind during a simulation. The random evolution of the wind can activated/deactivated.
## Mavic Pro 2 Demo Controller The Mavic controller is a simple example controller. The keyboard can be used to move the robot and drop water on the forest fire. ![mavic]( ## Spot Demo Controller The Spot controller is a basic controller that just moves the legs of the robot. The keyboard can also be used to throw water on the forest fire

No topics were found here

Skip to content