pfeinsper / drone-swarm-search

The Drone Swarm Search project provides an environment for SAR missions built on PettingZoo, where agents, represented by drones, are tasked with locating targets identified as shipwrecked individuals.
https://pfeinsper.github.io/drone-swarm-search/
MIT License
22 stars 4 forks source link

Função inicial simulação de partículas #181

Closed RicardoRibeiroRodrigues closed 7 months ago

RicardoRibeiroRodrigues commented 7 months ago

Função que recebe lat, long to ponto de desastre, tempo desde o acontecimento e retorna lista de (lat, long) das partículas finais.

Para facilitar na tarefa: https://github.com/OpenDrift/opendrift/blob/master/opendrift/models/basemodel/_init_.py#L4401

https://stackoverflow.com/questions/1303265/algorithm-for-determining-minimum-bounding-rectangle-for-collection-of-latitude

Para poder baixar o OpenDrift tem que fazer a instalação do GDAL versão 3.8.5: https://gdal.org/download.html

wget https://github.com/OSGeo/gdal/releases/download/v3.8.5/gdal-3.8.5.tar.gz tar -zxvf gdal-3.8.5.tar.gz cd gdal-3.8.5 mkdir build cd build/ cmake .. -DGDAL_ENABLE_PYTHON=YES make -j$(nproc) sudo make install gdalinfo --version