Це відео не доступне.
Перепрошуємо.
Feature Extraction from 2D LIDAR data using python 2/2 | SLAM SERIES
Вставка
- Опубліковано 8 сер 2024
- in this tutorial 🔥 we will implement a feature extraction algorithm based on split and merge using python and pygame from scratch, this video is the second part where we do a step-by-step explanation of the code behind feature extraction.
notes:
line 186 : add "less than self.EPSILON" as a condition to the while loop
💻 my services are available on :
www.fiverr.com/mouad2021
🔗 Playlist :
1 - introduction: • simulating SLAM from s...
2 - LIDAR : • simulating a LIDAR sen...
3 - Feature Extraction (theory) : • Feature Extraction fro...
4 -Feature Extraction (code) • Feature Extraction fro...
5 - Data association : • Data association for S...
⏱️ Time Stamps :
0:00 intro
1:44 code structure
3:21 the features file
17:51 the main file
22:05 testing our code
🏷️ Hash Tags:
#LIDAR #SLAM
Hi, thanks for this awesome video,
im trying to replicate the code, and i got stuck on line 186 "while self.dist_point2line(line_eq,self.LASERPOINTS[PB][0])" isnt there suppose to be a condition because dist_point2line returns an integer?
oh yes, so sorry it's suppose to be < self.EPSILON
please tell me if there"s another bug
@@hobby_coding Good morning, i managed to get it running, but i cannot replicate exact as you have in the video, lines are detected only when im near the wall and it jumps over gaps(doors to) can you pls share the source code? Thanks!
@@adimmx8928 your pc performance may be a factor, try to experiment with epsilon and delta now i have them 20 & 20, Gmax also should be experimented with
in future videos, i'll make the process run faster by regulating the rate on which the lidar is scanning the environment.
hey man... can u pls upload the code on github and post the link...would be really helpful
This Series made me Subscribe! Thanks. Are you going to put Feature Extraction on your GitHub? I only found your earlier LIDAR Simulation
You have done a lot of work, Good Job!
Hi,
Thanks for this video and the explanation.
When following the tutorial I run into a problem when testing. After debugging with the Predictated_point_to_draw, I do not get any points when my mouse cursor is left of a wall or above a wall (seems like when mouse position X < wall position X OR mouse position Y < wall position Y). When I put my mouse at the right side of the wall, it appears as points.
So to me this seems like an issue in the seed Segment Detection function.
As far as I understood I followed your tutorial completely and even took the textual comments shown during the video into account. Seeing your result I can not spot that bug as I am right
Do you have any idea what could be the issue or what could be the solution?
how I will get the reading from the robot?
as an array of numbers?
and then how to combine it with this code to build a real robot that can do mapping?
Hey,
first, thanks for the tutorial.
second, is there any oprotunity to get provided with the correct source code? eg. GitHub etc.?
i got everything upon runing, but with some wierd behavior. comparing the code only on Video-Basis is kind-of impossible.
My eys bleeding...
D:
me too bro need some bleach after this
I was wondering. Do you happen to know where to get the parts you would need to build this physically?
Amazon would be my guess, but don't listen to me, i only worked with this in simulation.
@@hobby_coding I'll look into it. Thanks.
@@tofo7151 if youre still looking. YDLidar is a great an cheap unit.
Instead of using pass in an if statement, use continue
These videos are good but not too helpful if you don't share the code. Its too hard to learn from just watching you type and copying the code as you type leads to many bugs. Will you please post the code?
amen
hello everyone I hope you all fine I have a question, how to receive data from LIDAR LMS111-10100 and save it using ethernet ?
I get error:
Fraction object has no attribute 'as_integer_ratio'
How to solve this?
Use Python >=3.8 can solve the problem
den_a = Fraction(A).limit_denominator(1000).as_integer_ratio()[1]
AttributeError: 'Fraction' object has no attribute 'as_integer_ratio'
how to solve this problem
Did you figured it out? Got the same error. thanks.
Hey, i checked my Code twice, but the Features are only detected, when im right, or under or above them (diddnt work if the obstacle is on the left side ), also the distance of detection is very very short
did u have an Idea?
unfortunately no , but i'll try to post the code soon
@@hobby_coding Can u post the code please
@@hobby_coding Even Im facing the same errors
@@hobby_coding Can u post the code which can detect all the walls please. We can pay for that.
Im facing the same problem😭
I use a real LIDAR sensor and I have a map of the environment, but I’m not sure how to move my robotic vehicle through that environment. It is a static environment. I use the RRT algorithm that you explained earlier. Can you help me somehow please, can I contact you via email maybe?
hi luka,
the truth is i am so busy this time of the year, and so i can do very little in terms of helping my subscribers with their projects, i wish i could discuss the project with you point by point but, for now, i can only give you a quick answer here in the comment section for your questions.
Ok, I understand you. My key problem is that I don’t know what exactly to focus on next. So, I made a map of the environment and I'm trying to do localization of the robot, but I also have some problems. My question is how can I use the map of the environment further? I also don’t draw a map inside the pygame but separately as a graph, should I use pygame?
@@lukabarkovic4125 you need to extract features from that map and then you use the EKF for localization, maybe read the peter cork book to gain a clear view on things
@@lukabarkovic4125 you need to extract features from that map and then you use the EKF for localization, maybe read the peter cork book to gain a clear view on things
Okey, thank you. I'll try, I'll definitely get a book. Can I ask you a question if I get stuck somewhere?
in line 110 there should be one self right?
yes, one self
@@hobby_coding sorry to disturb you again but i am getting this error.
main.py, line 79, in
ENDPOINTS[0] = FeatureMAP.projection_point2line(OUTERMOST[0], m, c)
Features.py, line 86, in projection_point2line
x, y = point
TypeError: cannot unpack non-iterable int object
so i wrote x= point y = point code is working, is it right?
@@diptadipdas8111 you missed something
@@hobby_coding ok will check, what's next you will be doing
@@diptadipdas8111 using this with EKF for localisation will be the next step
The code just doesn't work... What a waste of my life.... Some one please help with: 'featuresDetection' object has no attribute 'laser_points_set'
i feel u bro im right tehre with u