Feature Extraction from 2D LIDAR data using python 2/2 | SLAM SERIES

  Рет қаралды 14,415

Mouad Boumediene - Hobby Coding

Mouad Boumediene - Hobby Coding

Күн бұрын

Пікірлер: 61
@adimmx8928
@adimmx8928 3 жыл бұрын
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?
@hobby_coding
@hobby_coding 3 жыл бұрын
oh yes, so sorry it's suppose to be < self.EPSILON
@hobby_coding
@hobby_coding 3 жыл бұрын
please tell me if there"s another bug
@adimmx8928
@adimmx8928 3 жыл бұрын
@@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!
@hobby_coding
@hobby_coding 3 жыл бұрын
@@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
@hobby_coding
@hobby_coding 3 жыл бұрын
in future videos, i'll make the process run faster by regulating the rate on which the lidar is scanning the environment.
@AbcDef-oe8sj
@AbcDef-oe8sj 3 жыл бұрын
hey man... can u pls upload the code on github and post the link...would be really helpful
@Build_the_Future
@Build_the_Future Жыл бұрын
This Series made me Subscribe! Thanks. Are you going to put Feature Extraction on your GitHub? I only found your earlier LIDAR Simulation
@Mblast59
@Mblast59 Жыл бұрын
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?
@dingdong2588
@dingdong2588 Жыл бұрын
amen
@rickv.f.2311
@rickv.f.2311 2 жыл бұрын
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?
@justtestingonce
@justtestingonce 2 жыл бұрын
Instead of using pass in an if statement, use continue
@Pages_Perfected
@Pages_Perfected 2 жыл бұрын
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?
@lukasrauch389
@lukasrauch389 3 жыл бұрын
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:
@dingdong2588
@dingdong2588 Жыл бұрын
me too bro need some bleach after this
@1Uik1
@1Uik1 2 жыл бұрын
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?
@hobby_coding
@hobby_coding 2 жыл бұрын
unfortunately no , but i'll try to post the code soon
@aravindv504
@aravindv504 2 жыл бұрын
@@hobby_coding Can u post the code please
@aravindv504
@aravindv504 2 жыл бұрын
@@hobby_coding Even Im facing the same errors
@bingxiong8094
@bingxiong8094 2 жыл бұрын
@@hobby_coding Can u post the code which can detect all the walls please. We can pay for that.
@bingxiong8094
@bingxiong8094 2 жыл бұрын
Im facing the same problem😭
@Pages_Perfected
@Pages_Perfected 2 жыл бұрын
You have done a lot of work, Good Job!
@programmingworld2040
@programmingworld2040 2 жыл бұрын
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
@plinioferreira4255
@plinioferreira4255 Жыл бұрын
Did you figured it out? Got the same error. thanks.
@triz5511
@triz5511 2 жыл бұрын
I get error: Fraction object has no attribute 'as_integer_ratio' How to solve this?
@johanblank645
@johanblank645 2 жыл бұрын
Use Python >=3.8 can solve the problem
@ahmedchakouri3498
@ahmedchakouri3498 3 жыл бұрын
hello everyone I hope you all fine I have a question, how to receive data from LIDAR LMS111-10100 and save it using ethernet ?
@tofo7151
@tofo7151 3 жыл бұрын
I was wondering. Do you happen to know where to get the parts you would need to build this physically?
@hobby_coding
@hobby_coding 3 жыл бұрын
Amazon would be my guess, but don't listen to me, i only worked with this in simulation.
@tofo7151
@tofo7151 3 жыл бұрын
@@hobby_coding I'll look into it. Thanks.
@JAYJAY_1931
@JAYJAY_1931 2 жыл бұрын
@@tofo7151 if youre still looking. YDLidar is a great an cheap unit.
@lukabarkovic4125
@lukabarkovic4125 3 жыл бұрын
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?
@hobby_coding
@hobby_coding 3 жыл бұрын
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.
@lukabarkovic4125
@lukabarkovic4125 3 жыл бұрын
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?
@hobby_coding
@hobby_coding 3 жыл бұрын
@@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
@hobby_coding
@hobby_coding 3 жыл бұрын
@@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
@lukabarkovic4125 3 жыл бұрын
Okey, thank you. I'll try, I'll definitely get a book. Can I ask you a question if I get stuck somewhere?
@diptadipdas8111
@diptadipdas8111 3 жыл бұрын
in line 110 there should be one self right?
@hobby_coding
@hobby_coding 3 жыл бұрын
yes, one self
@diptadipdas8111
@diptadipdas8111 3 жыл бұрын
@@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?
@hobby_coding
@hobby_coding 3 жыл бұрын
@@diptadipdas8111 you missed something
@diptadipdas8111
@diptadipdas8111 3 жыл бұрын
@@hobby_coding ok will check, what's next you will be doing
@hobby_coding
@hobby_coding 3 жыл бұрын
@@diptadipdas8111 using this with EKF for localisation will be the next step
@dr.merlot1532
@dr.merlot1532 2 жыл бұрын
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'
@dingdong2588
@dingdong2588 Жыл бұрын
i feel u bro im right tehre with u
simulating a LIDAR sensor from scratch with python | SLAM SERIES
15:43
Mouad Boumediene - Hobby Coding
Рет қаралды 60 М.
Data association for SLAM | coding slam from scratch
9:08
Mouad Boumediene - Hobby Coding
Рет қаралды 9 М.
Triple kill😹
00:18
GG Animation
Рет қаралды 18 МЛН
Master LiDAR Data Processing (Full Walkthrough!)
1:05:22
Indiana Drones
Рет қаралды 10 М.
Creating 3D GIS from Imagery and Lidar
1:05:10
Esri Industries
Рет қаралды 43 М.
Sliding Window Technique - Algorithmic Mental Models
36:45
Ryan Schachte
Рет қаралды 360 М.
Can you map a room with LIDAR and Arduino?
11:52
Nikodem Bartnik
Рет қаралды 351 М.
Lidar Processing with MATLAB
29:00
Systematics MATLAB
Рет қаралды 10 М.
Easy SLAM with ROS using slam_toolbox
25:47
Articulated Robotics
Рет қаралды 143 М.
Path Smoothing in Python | with just 10 lines of code
7:24
Mouad Boumediene - Hobby Coding
Рет қаралды 9 М.