simulating a LIDAR sensor from scratch with python | SLAM SERIES

preview_player
Показать описание
in this video 🔥we will present a step-by-step tutorial on simulating a LIDAR sensor from scratch using the python programming language, this video comes as a part of a series focused on SLAM simulation.

📁 Files :

💻 my services are available on :

🔗 Playlist :

⏱️ TimeStamps :
0:00 intro
0:36 how does LIDAR work?
1:50 preparations
3:50 coding
14:59 results/outro

🏷️ HashTags:
#LIDAR #SLAM
Рекомендации по теме
Комментарии
Автор

thank you very muh for your wonderful video with simple explanation and great animations! :)

alhdlakhfdqw
Автор

your knowledge is superb remembered only entartainment videos has more view and subscriber but for me you are hero

manavpatil
Автор

@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.

louisdiedericks
Автор

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?

JashDoshi
Автор

Love your videos 💕
It would be nice to give some more theoretical details as animated supplementary videos.
Hopefully videos will be released soon.

RahulKumar-mhbk
Автор

perfect, Bro 👍
you have a good explaining method.
good luck.

ahmedbenyoucef
Автор

Amazing content! Thank you so much for sharing!

aameaame
Автор

Subscribed. man you are amazingly smart

badcandy
Автор

Thank you very much Mr, Algobotics. Your video is very helpful.

tranquochung
Автор

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.

elifkarabulut
Автор

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()

swagh
Автор

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...

kadaliakshay
Автор

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?

angeloespinoza
Автор

I use rplidar c1.. when i run it apper a black window and the lidar doesn't connect or even work!😢 please help me

Hanan-qzms
Автор

Is this useful for doing object detection using lidar

mathewtomy
Автор

Hello!
I wrote all the code like yours, but it doesn't display, scan, or display an image.

ДжайгоДжай
Автор

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?

JAYJAY_
Автор

Great Video.!
I am having one problem . ' TypeError: 'bool' object is not iterable '. Im getting this error for the dataStorage method.

littledude
Автор

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

AbcDef-oesj
Автор

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.

vardhanviswanath