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_coding3 жыл бұрын
oh yes, so sorry it's suppose to be < self.EPSILON
@hobby_coding3 жыл бұрын
please tell me if there"s another bug
@adimmx89283 жыл бұрын
@@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_coding3 жыл бұрын
@@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_coding3 жыл бұрын
in future videos, i'll make the process run faster by regulating the rate on which the lidar is scanning the environment.
@AbcDef-oe8sj3 жыл бұрын
hey man... can u pls upload the code on github and post the link...would be really helpful
@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 Жыл бұрын
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 Жыл бұрын
amen
@rickv.f.23112 жыл бұрын
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?
@justtestingonce2 жыл бұрын
Instead of using pass in an if statement, use continue
@Pages_Perfected2 жыл бұрын
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?
@lukasrauch3893 жыл бұрын
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 Жыл бұрын
me too bro need some bleach after this
@1Uik12 жыл бұрын
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_coding2 жыл бұрын
unfortunately no , but i'll try to post the code soon
@aravindv5042 жыл бұрын
@@hobby_coding Can u post the code please
@aravindv5042 жыл бұрын
@@hobby_coding Even Im facing the same errors
@bingxiong80942 жыл бұрын
@@hobby_coding Can u post the code which can detect all the walls please. We can pay for that.
@bingxiong80942 жыл бұрын
Im facing the same problem😭
@Pages_Perfected2 жыл бұрын
You have done a lot of work, Good Job!
@programmingworld20402 жыл бұрын
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 Жыл бұрын
Did you figured it out? Got the same error. thanks.
@triz55112 жыл бұрын
I get error: Fraction object has no attribute 'as_integer_ratio' How to solve this?
@johanblank6452 жыл бұрын
Use Python >=3.8 can solve the problem
@ahmedchakouri34983 жыл бұрын
hello everyone I hope you all fine I have a question, how to receive data from LIDAR LMS111-10100 and save it using ethernet ?
@tofo71513 жыл бұрын
I was wondering. Do you happen to know where to get the parts you would need to build this physically?
@hobby_coding3 жыл бұрын
Amazon would be my guess, but don't listen to me, i only worked with this in simulation.
@tofo71513 жыл бұрын
@@hobby_coding I'll look into it. Thanks.
@JAYJAY_19312 жыл бұрын
@@tofo7151 if youre still looking. YDLidar is a great an cheap unit.
@lukabarkovic41253 жыл бұрын
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_coding3 жыл бұрын
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.
@lukabarkovic41253 жыл бұрын
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_coding3 жыл бұрын
@@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_coding3 жыл бұрын
@@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
@lukabarkovic41253 жыл бұрын
Okey, thank you. I'll try, I'll definitely get a book. Can I ask you a question if I get stuck somewhere?
@diptadipdas81113 жыл бұрын
in line 110 there should be one self right?
@hobby_coding3 жыл бұрын
yes, one self
@diptadipdas81113 жыл бұрын
@@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_coding3 жыл бұрын
@@diptadipdas8111 you missed something
@diptadipdas81113 жыл бұрын
@@hobby_coding ok will check, what's next you will be doing
@hobby_coding3 жыл бұрын
@@diptadipdas8111 using this with EKF for localisation will be the next step
@dr.merlot15322 жыл бұрын
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'