Matching LaserScan and staticmap
I am trying to write a code in which the inputs are laser scan and static map, whereas the outputs are the percentage of laser scan was matching with the map. But I figured it out that AMCL was already doing this for localization. Can I know what are the parameters are taken into consideration and how to proceed?
What do you mean with the parameters taken into consideration ? You should take a look at amc_laser.cpp, you can see how the AMCL calculates the probability of a position being correct by calculating the difference between the given pose and the laser data, is this what you are looking for ?
Yes sir. I was confused at the file amcl_laser.cpp. Can I know how the weights are calculated at each position? And some detailed explanation regarding this?