ZJU-FAST-Lab / ego-planner-swarm

An efficient single/multi-agent trajectory planner for multicopters.
GNU General Public License v3.0
1.17k stars 226 forks source link

how to avoid problems caused by multiple threads in the grid map management? #69

Open yangliu9527 opened 1 month ago

yangliu9527 commented 1 month ago

I notice there are no mutex and lock in the grid_map.h, I wonder that what if multiple threads get from and add in the same variables? Will it cause problems?