Parcticle Filter Explained With Python Code From Scratch

In the following code I have implemented a localization algorithm based on particle filter.

I have used conda to run my code, you can run the following for installation of dependencies:

and the code:

 

4.5 8 votes
Article Rating
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

7 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Raga
Raga
3 years ago

Hi,
I am a complete BEGINNER in robot navigation. please bare with my questions and please do answer them. It would really help me alot for my project.
I have an ultrasonic sensor, GPS module and raspberry pi. I also have the locations of different way points the robot is supposed to go to. Can you tell me what the sensor limitations would be if i use this code for localization? and how should i execute the code, i mean just copy paste it and run in raspberry pi and the robot will start localizing itself?

Thanks

aryne
2 years ago

great information,thanks

Filippo
Filippo
2 years ago

Nice example,
is this code release with any license?
Thanks

davich
davich
1 year ago

This helped a lot. Thank you!

gabbar
gabbar
1 year ago

Hi, thank you for the post, it has really helped me understand the concept. One thing which I am facing difficulty to understand is systematic_resampling function, can you please elaborate on that?

Last edited 1 year ago by gabbar
eason long
eason long
9 months ago
Reply to  gabbar
7
0
Would love your thoughts, please comment.x
()
x