2
$\begingroup$

I have LIDAR data of an environment in my hand and I want to apply likelihood field matching to this data. I found a source. But I don't understand what the variables of the algorithm mean and how it works. Can you help with that?

Note : We're trying to apply the particle filter to a mobile robot. And we will use this algorithm for this.

the algorithm that I found and suggested by my teacher : enter image description here

And the desired result : enter image description here

Thank you for help.

$\endgroup$
  • $\begingroup$ It's taken from Chapter 6 of Probabilistic Robotics, by Sebastian Thrun, et al, (specifically pp169-174). $\endgroup$ – sempaiscuba Feb 27 at 18:26
  • $\begingroup$ Thank you. It helps to know it. $\endgroup$ – umuryasinalper Mar 17 at 20:23
1
$\begingroup$

Basically, you are comparing the measurements of your scan with your previously computed map.

You compare all your scans (line 2) for a certain time step that are not range_max (line 3).

You compute the position of your scan based on the position of the robot and the measurements of the scan (lines 4 and 5).

Then, you get the closest occupied cell to your calculated scan position, and compute the distance between the computed scan position and that closest cell (line 6).

Then you get the importance weight based on a normal distribution for that calculated distance (line 7).

$\endgroup$
  • $\begingroup$ Thank you. It helped me a lot. $\endgroup$ – umuryasinalper Mar 17 at 20:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.