Open markmellors opened 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
x = x_cm//10 y = y_cm//10 max_dist = max_dist_cm//10
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