markmellors / robostats_mcl

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

hard coded values in raycast_bresenham() #4

Open markmellors opened 4 years ago

markmellors commented 4 years ago

in montecarlo_localization.py > robot_particle > raycast_bresenham() there are hard coded values that should change with the size and resolution of the loaded map. e.g. x = x_cm//10 y = y_cm//10 max_dist = max_dist_cm//10