markmellors / robostats_mcl

Python implementation of Monte Carlo Localization (Particle Filter)
MIT License
0 stars 1 forks source link

hard coded values in occupancy_map #1

Closed markmellors closed 4 years ago

markmellors commented 4 years ago

in montecarlo_localization.py > occupancy_map > ranges_180() there are hard coded values that should change with the size and resolution of the loaded map. e.g. x_loc = int(min(x_cm//10, 799))