midemig/gps_amcl

LaserScan score absent in new weights calculation

Closed this issue · 1 comments

Hi @midemig!
Thank you for your work!

I have a question regarding the implementation
As per my understanding, we should use particle score at the calculation of the new weight. But seems, it is not used.

Is it made by purpose?

Hi!
The particle score is represented by its weight which is calculated in amcl_laser.cpp and later updated in pf.cpp.
The score variable is not used, so I have deleted it.
Tank you!