you can now get the source code from : ko-fi.com/s/86d7053723
@alhdlakhfdqw3 жыл бұрын
thank you very muh for your wonderful video with simple explanation and great animations! :)
@manavpatil56992 жыл бұрын
your knowledge is superb remembered only entartainment videos has more view and subscriber but for me you are hero
@hobby_coding2 жыл бұрын
loved your comment, thanks for watching.
@louisdiedericks15283 жыл бұрын
@Algobotics Love the video, can't wait to see what you do next. I had two errors in the code. 1) " TypeError: 'bool' object is not iterable" in the dataStorage function. fix: add an if function before the for loop in the dataStorage function if data!=False: for element in data: ... ... 2) The window did not close after the close button (the x next to minimize and maximize) in the corner was pressed. fix: add pygame.quit() after the while loop in the main file. It is also a good idea to add pygame.init() at the beginning of each file to ensure no "video system not initialized" errors.
@hobby_coding3 жыл бұрын
thanks, Louis, i will pin your comment to help people find the solution to some bugs. regarding the if condition I probably just forgot to add it in the video.
@harsh35plays3 жыл бұрын
Can you please share your code? I am having a hard time debugging
@elifkarabulut57403 жыл бұрын
I have done what you say but it still does not work. :/
@JAYJAY_19313 жыл бұрын
@@harsh35plays did you figure it out yet?
@raoul96843 жыл бұрын
This is an interesting content!
@hobby_coding3 жыл бұрын
thanks abderraouf , happy ramadan .
@RahulKumar-mh4bk3 жыл бұрын
Love your videos 💕 It would be nice to give some more theoretical details as animated supplementary videos. Hopefully videos will be released soon.
@hobby_coding3 жыл бұрын
thanks for tuning in. what do you mean by theoretical details , math ?
@RahulKumar-mh4bk3 жыл бұрын
@@hobby_coding yes that would be great 😊
@lukeschmitt17733 жыл бұрын
@@hobby_coding It would be interesting to see concepts like Extended Kalman Filters or Particle Filters covered in your style. Great work!
@harsh35plays3 жыл бұрын
dude can you help me with the code?
@Oguzhan_o7 Жыл бұрын
Awesome 👏👏👏👏👏
@hobby_coding8 ай бұрын
Thanks :)
@Oguzhan_o78 ай бұрын
@@hobby_coding you're welcome :)
@aameaame79733 жыл бұрын
Amazing content! Thank you so much for sharing!
@ahmedbenyoucef3238 Жыл бұрын
perfect, Bro 👍 you have a good explaining method. good luck.
@swagh16113 жыл бұрын
While converting lidar measurements to position: why for y coordinate you subtract it? y = - distance * math.sin(angle) + robot_position[1] shouldn't it be y = distance * math.sin(angle) + robot_position[1] ? i.e without a negative sign. And similar in the function sense_obstacles()
@hobby_coding3 жыл бұрын
the - sign is to account for the display inverted y axis
@tommytran59622 жыл бұрын
Use the + sign, not the - sign. The + sign worked for me.
@dingdong2588 Жыл бұрын
@@hobby_coding stop scamming broooo
@hobby_coding Жыл бұрын
@@dingdong2588 what are you talking about ?
@dingdong2588 Жыл бұрын
@@hobby_coding im sorry daddy
@tranquochung19952 жыл бұрын
Thank you very much Mr, Algobotics. Your video is very helpful.
@badcandy1337 Жыл бұрын
Subscribed. man you are amazingly smart
@JashDoshi3 жыл бұрын
9:51 in realtime, the colour of a wall wont be black, it will be a variable colour, so how can you implement that here?
@hobby_coding3 жыл бұрын
this is just a simulation in real-life the lidar sensor will return the angle and distance to that obstacle without considering any colors i only did this trick to simulate the LIDAR sensor
@JashDoshi3 жыл бұрын
@@hobby_coding ahh okayy, cant wait for you to make this with your mobile cam!
@MohammadHefny_HefnySco3 жыл бұрын
Many thanks for this great video
@hobby_coding3 жыл бұрын
you're welcome Mohammed
@kadaliakshay67709 ай бұрын
hey is there any way of doing this with camera but without a LIDAR? because I've done some research and it kinda looks like it's possible...
@hobby_coding8 ай бұрын
Yes, autonomous driving can be done with a camera. Tesla for example uses cameras, radar and ultrasonic sensors.
@kadaliakshay67705 ай бұрын
@@hobby_coding thx
@elifkarabulut57403 жыл бұрын
Is it possible to insert a video or series of images to this code? What I want to do is, having two objects on the plan and make them look like they are moving. So, I thought about creating a video and uploading it or inserting series of images and creating a transmission between them? Please help me.
@hobby_coding3 жыл бұрын
yes, but make sure the colors are the same. you can make an animation usign after effect to suit your purposes and export this animation in the form of images. at each iteration show one frame and you are done.
@elifkarabulut57403 жыл бұрын
@@hobby_coding and what if I want to add a moving object? Can I simpy create another class named 'object' and move this object on this plan? I want object to be able to recognize obstacles and change the direction accordingy.
@tommytran59622 жыл бұрын
at 9:01, why is sigma squared ?
@littledude69583 жыл бұрын
Great Video.! I am having one problem . ' TypeError: 'bool' object is not iterable '. Im getting this error for the dataStorage method.
@xhibit-c8w3 жыл бұрын
same did you find the solution?
@JashDoshi3 жыл бұрын
The solution is: return an iterable. I suggest that you either convert the bool to a string (str(False)) or enclose it in a tuple ((False,)).
@littledude69583 жыл бұрын
@@JashDoshi Thankyou..!!
@DonnyPUtama3 жыл бұрын
@@littledude6958 i still dont get it
@elifkarabulut57403 жыл бұрын
anyone can share the code of the solution?
@JAYJAY_19313 жыл бұрын
Great video and very nicely explained! Only trouble I'm having is the fact that when i start my simulation the window doesnt show any obstacles. Ive been looking for some time now. anyone got some tips?
@mathewtomy38233 жыл бұрын
Is this useful for doing object detection using lidar
@angeloespinoza98503 жыл бұрын
Hi Algobotics, I am currently basing on this project to do a Visibility Polygon. Right now I have got a point on the same map as you have but now with red lines emanating from it as lidar sensor. I want to detect collision from this emanating lines to the borders of the image. How could I do it?
@yoursyasuo58683 жыл бұрын
This is so awesome!!! Can you please provide the project link please?
@hobby_coding3 жыл бұрын
sorry , i'm waiting for the project to be completed befor I post it in GitHub , so please just write the code by watching the video for now .
@yoursyasuo58683 жыл бұрын
@@hobby_coding actually I did coded along the video but got some errors. And I need to implement SLAM simulation like this for a project. That would be great if I could get some help from you.... Please consider.
@hobby_coding3 жыл бұрын
@@yoursyasuo5868 please tell me what bugs did you get
@NimishKashyap3 жыл бұрын
Yes I agree, that'll be a great help
@yoursyasuo58683 жыл бұрын
I got the sensed_obstacle() not found. I double checked my code and I have literally defined it correctly but still it is showing that same error
@ДжайгоДжай10 ай бұрын
Hello! I wrote all the code like yours, but it doesn't display, scan, or display an image.
@Hanan-qz8ms10 ай бұрын
I use rplidar c1.. when i run it apper a black window and the lidar doesn't connect or even work!😢 please help me
@uselessrobotics53833 жыл бұрын
Hello, Your work is very nice ! SOmetimes, you are happy when you come across some content creator :)
@hobby_coding3 жыл бұрын
thank you for the positive comment, I'm glad you liked the content.
@princerajput28523 жыл бұрын
how we can create 3d/2d map from lidar(ply/.bag) file using python
@hobby_coding3 жыл бұрын
i dont have a lidar sensor , that's why i decided to simulate one :)
@vardhanviswanath12343 жыл бұрын
When I hover my mouse in the pygame window, it's displaying red lines and dots in random order in the pygame window, instead of displaying the map. Please help me out.
@JAYJAY_19313 жыл бұрын
did you find a solution?
@AbcDef-oe8sj3 жыл бұрын
can u help me with this...i got an error that i couldnt rectify... it says... 'NoneType' object is not subscriptable in show_sensorData() method would be really helpfull if u could help me
@sriramsriram92462 жыл бұрын
which type of controller is used in this robot
@tommytran59622 жыл бұрын
thank you so much.
@antonwezels940310 ай бұрын
Hey are you still on fiverr available?
@jamilahmarramduarte15752 жыл бұрын
Hi sir how to connect this code into object detection?
@nashrllah Жыл бұрын
how can i combine it with vrep
@AlaEddine191763 жыл бұрын
Hi Sir i need some help to build a small simulation app for study work can you help me ??
@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 ?
@stefano89365 ай бұрын
7:20 F-Bomb dropped
@badcandy1337 Жыл бұрын
you stopped coding?????
@Pages_Perfected2 жыл бұрын
hmm
@hobby_coding2 жыл бұрын
hmmm
@dingdong2588 Жыл бұрын
Anyone bought his fiver codes link it here plz :D
@dingdong2588 Жыл бұрын
i mean kopi
@Taka-tg8zq2 жыл бұрын
Hi, I like your tutorial. Do you have LinkedIn?
@hobby_coding2 жыл бұрын
hello taka, my LinkedIn is : www.linkedin.com/in/mouad-boumediene/
@Taka-tg8zq2 жыл бұрын
@@hobby_coding Added you there :) Good to connect!