Can you map a room with LIDAR and Arduino?

Поділитися
Вставка
  • Опубліковано 20 гру 2024

КОМЕНТАРІ • 173

  • @nikodembartnik
    @nikodembartnik  Рік тому +4

    Get your own ORP chassis kit and support the project: indystry.cc/product/orp-robotics-chassis/
    Happy making!

    • @philipdrew10
      @philipdrew10 Рік тому +1

      You dont need to build the best most impressive thing, build a small part of a big tech advancement. Super useful

  • @mikoajandrzejewski259
    @mikoajandrzejewski259 2 роки тому +42

    Serce rośnie widząc rodaków wśród tego typu kanałów 😊 pozdro!

    • @nikodembartnik
      @nikodembartnik  2 роки тому +4

      Dzięki!

    • @AdrianKrawczyk
      @AdrianKrawczyk Рік тому

      Ooo proszę, gdybym nie wczytał się w komentarze, to bym nie wiedział 😅 Gratki 😊 ja zaczynam właśnie zabawę z podobnym projektem dla zabawy i dla mojego 3latka, bo nasz odkurzacz - Roborock7 śni mu się po nocach i pierwsze co robi po przebudzeniu to pyta się, czy odkurzacz śpi 😂 ❤

  • @gerGoPrint3D
    @gerGoPrint3D 2 роки тому +77

    The keyword for today's episode is "SIMPLE" (mentioned 40+ times😉) . This simplicity is why we watch your videos, even I can understand almost everything!

  • @nrdesign1991
    @nrdesign1991 2 роки тому +27

    Looking forward to seeing your ROS experience! My experience was while studying, and rushing to get a project working. I didnt really have time to deep-dive into it all, and had no chance to try out the navigation capabilities, also didnt get to keep any hardware. The newest ROS version should be easier to use, too.

    • @Indonesia01ian
      @Indonesia01ian Рік тому

      Hi. Did you have any recommendation for me to learn ROS from basic?

  • @falxie_
    @falxie_ 2 роки тому +6

    I'm impressed you were able to keep the points in the same "space" when the robot moves

    • @keepercool98
      @keepercool98 2 роки тому +1

      I would have liked to hear more about the SLAM implementation that he used, but the video is pretty cool.

    • @foobarmaximus3506
      @foobarmaximus3506 2 роки тому

      You thought those points were going to move to another dimension then? lololol This is a cheap 2D LED-based LIDAR system. It only generates points in 2 dimensions. lolol

  • @yakovvasilyev6255
    @yakovvasilyev6255 2 роки тому +6

    Great progress! Nice to see you developing your own algorithm! Good luck with ROS 🙌

  • @Andreas-gh6is
    @Andreas-gh6is Рік тому +8

    For communicating between boards I'd actually recommend using a serial line. Even the lowend microcontrollers can buffer quite a bit of serial input without interrupting your program or even the CPU, the higher end ones (like the ESP32 or RPI Pico and similar) don't even notice. And you can use your PC for debugging more easily.

    • @davenarisotto3674
      @davenarisotto3674 Рік тому

      In arduino you can implement a serial line by using the SoftwareSerial library, is this what you mean? I'm a beginner trying to learn about communications between boards

    • @Andreas-gh6is
      @Andreas-gh6is Рік тому

      @@davenarisotto3674 You can use that, but using softwareserial you may block the CPU from doing anything else. It's preferable to use hardware serial ports. Many boards have at least one pin for hardware serial, some have more than one or can configure other pins to be that.

  • @fugoogle_was_already_taken
    @fugoogle_was_already_taken 2 роки тому +5

    If you planned routing, or autonomous routing of the robot, take a look at point cloud based localisation and point cloud merging. It should eliminate the "noisiness" of the data and your planning algorithms will be much more effective. At my uni there is a team which uses drones mounted with NUCs to execute autonomous missions.

  • @GUN2kify
    @GUN2kify 2 роки тому +3

    you could get an more solid map if you extend the point in tangent one pixel left/right.
    Then the map would be also more visible and could show if there messure errors.

    • @foobarmaximus3506
      @foobarmaximus3506 2 роки тому

      LOL Yeah. You figured it out completely! lol Thanks Bro!

    • @GUN2kify
      @GUN2kify 2 роки тому

      @@foobarmaximus3506 ironical?

  • @conorstewart2214
    @conorstewart2214 Рік тому

    An approach I prefer for using wifi for things like this is to set up the robot as the server, that way it isn’t tied to a specific device or IP address. It means that any device on the network can connect to the robot and if your router dynamically assigns IP addresses you can just do a port scan on your PC or have a small screen on the robot and find its IP address and connect to it that way. The way you have it set up means you can only use it with whatever has that IP address, which currently is your PC, so any phones, laptops, pis, etc, couldn’t connect, and to connect them you would have to edit the code and re upload it, the same thing happens if your computer changes IP address, to connect you would have to edit and reupload the program.

  • @diegoabche
    @diegoabche Рік тому +1

    I wouldn't be surprised if you said at 0:52 you learned Chinese for this. Very good work man!

  • @domentrontelj7142
    @domentrontelj7142 2 роки тому +8

    A suggestion for you: python is great for cleaning out data and i think it would be fairly simple to implement a short algorithm to delete excess points

  • @To-mos
    @To-mos Рік тому +1

    4:57 net-tools is an obsolete package on many Linux OSes so the command "ifconfig" probably won't exist try "ip addr" instead.

  • @ARTDimarik
    @ARTDimarik 2 роки тому +1

    this is a cool project, you did a great job

  • @carlosmartinez-pv6gy
    @carlosmartinez-pv6gy 2 роки тому

    Awsome video! Looking forward the next - with RPi and ROS!

  • @vell0cet517
    @vell0cet517 2 роки тому

    Nice project! I think you’ve got a bright future ahead of you. Keep up the great work.

  • @anonymousperson9757
    @anonymousperson9757 Рік тому +1

    Loved the video! You've earned yourself a new subscriber :) Also, such a cute kitty! ❤

  • @tiagotiagot
    @tiagotiagot 2 роки тому +5

    What if you store the dots as they come, then before each new reading, estimate approximately how much the robot should've moved and rotated based on the wheel movements and apply that transformation to the stored dots, and then as new readings come, you try to make the new reading match the previous readings as closely as possible by shifting and rotating them, to improve the results you got from the dead reckoning; and if some of the new dots are close enough to an already existing dot (bellow the margin of error of the dead reckoning I guess would be a good threshold), then for each of those, you move the closest point by a small fraction towards the new reading to try to refine the coordinates over time, discarding any new dots which having been used to refine previous readings?

    • @foobarmaximus3506
      @foobarmaximus3506 2 роки тому +1

      Python is too slow for any real-time mapping. There's SO much more to this if you're doing anything besides schoolboy projects. Dead reckoning only helps when you know your point of origin with some precision. This job requires far more math and faster tools than most people have access to. Quaternions and such.

    • @keithschaub7863
      @keithschaub7863 Рік тому

      I use real time mapping. Works fine for me. The idea above about tracking points and estimating….good idea but…the data is so noisy. Will like be very inaccurate.

  • @jayhinds3937
    @jayhinds3937 2 роки тому +1

    Very cool. A lot of work. A lot of learning. A lot of success! Thanks for sharing.

  • @PhG1961
    @PhG1961 2 роки тому

    Very impressive ! I'm looking forward to see what's next !

  • @razvanp2557
    @razvanp2557 2 роки тому +4

    Cool idea. I would use UDP instead of HTTP over TCP. It is more appropriate for real time work.

  • @er.kakshshah2868
    @er.kakshshah2868 2 роки тому +3

    Hey nikodem please suggest your sources of python learning for electronics

    • @FIREMAN-ff3cj
      @FIREMAN-ff3cj 2 роки тому

      If you want programming in emebed. Not relevant what you will use. In fact python is easy to learn, but it is interpreted.In consequent is just slow, so is useless for embeded electronics, because there are cheap microchips.Max one, two thread with low frequency eg. 130mhz.

    • @Francisco17Berrios
      @Francisco17Berrios 2 роки тому

      The best way to learn electronics/python is to set yourself a personal project and start from there learning specific stuff you need to do.

    • @nikodembartnik
      @nikodembartnik  2 роки тому +1

      If you would like to program microcontrollers in Python then there are no that many options as for now (Raspberry Pi Pico and some boards from Seed Studio and Adafruit as far as I know). MicroPython and Python is very similar so you just build few projects on you computer. Find something you want to build, and learn everything you need to build it by building it. Once your project is ready move onto the next one!

  • @paramdeepsingh663
    @paramdeepsingh663 10 місяців тому +2

    Budd, you really resembles The "TinTin" character 😄

  • @vasantharajar9721
    @vasantharajar9721 2 роки тому

    so cool man This is awesome. please make more projects like this!

  • @lundebc
    @lundebc 2 роки тому

    Very good video and explanation. I will be following your effort to learn more. I too want to explore ROS further!

  • @greyareaRK1
    @greyareaRK1 2 роки тому +3

    I'm way out of my depth here, but have you considered fuzzy logic for navigation? It's computationally light, but able to deliver subtle decision trees.

    • @ocelotmadness6287
      @ocelotmadness6287 2 роки тому

      Weird question: Is that the thing a roomba does when it smacks into the walls?

    • @foobarmaximus3506
      @foobarmaximus3506 2 роки тому

      "Subtle decision trees" he says. LOLOLOLOLOLOLOLOLOLOLOLOL. Oh lordy, the BS keeps on coming. I love it.

  • @hazielrc
    @hazielrc 4 місяці тому

    how do you convert the lidar hex values to readable distance values? I have a lidar but I can't make it work

  • @CrazySao
    @CrazySao 2 роки тому

    Epic Simple Idea explanation

  • @mohitjani2390
    @mohitjani2390 2 роки тому

    Its, pretty good as it is, but you can make good solid lines using a simple linear regression algo, this will minimize the noise and will look better too

  • @mtbevins
    @mtbevins Рік тому

    Great video! Very inspiring. Thank you for publishing all your hard work.

  • @YooProjects
    @YooProjects 2 роки тому

    Wow.. Fantastic video mate 👍👍💫

  • @potatokartoffel5721
    @potatokartoffel5721 4 місяці тому

    have you tried combing this with the raspberry pi 5 with the ai kit and the 13 TOPS Hailo NPU?

  • @Cr7-o2u
    @Cr7-o2u 6 місяців тому

    Hi! I wanna ask for the wire connection of the robot, how can I connect the motors, lidar, and the boards

  • @monaghasemi2270
    @monaghasemi2270 5 місяців тому

    Hey, great video
    I’m trying to build my own robot for my university’s final project and i just need to know can i connect the LIDAR to esp32 and send the data via wifi to computer and also control the wheels with the esp32?

  • @ts2471
    @ts2471 Рік тому

    how would i be able to use LIDAR to help me with simple obstacle detection in arduino

  • @keithschaub7863
    @keithschaub7863 Рік тому

    Excellent. Great job. How did you track and update the position on the map?

  • @emrengineer
    @emrengineer 10 місяців тому

    hello , if I want to measure the density of traffic on a road, what kind of system can I install? i want something low cost and functional. it should be a system that can transmit this density to another device and show the density. i would be very grateful if you help me. lidar sensor is used? which one do you think is advantageous?

    • @explorer_1113
      @explorer_1113 10 місяців тому

      I think no sensors would work here. You need a camera and a CNN (Convolutional Neural Network) to recognize traffic, and an algorithm to calculate traffic density.

  • @wmvga
    @wmvga 8 місяців тому

    Hello, how do you manufacture the parts for the robot structure?

    • @nikodembartnik
      @nikodembartnik  8 місяців тому

      You can see it in this video: ua-cam.com/video/DrWF_xTzURI/v-deo.html

  • @htmagic
    @htmagic 2 роки тому +3

    A Neato Robotics vacuum uses a LIDAR module similar to the ones you used. It has a micro USB port. I'd love for you to hack it and see what's going on...

  • @emoutraspalavras-marloncou4459
    @emoutraspalavras-marloncou4459 2 роки тому +2

    Wspaniały projekt, Nikodemie. Możesz go bardzo rozwiać, dodając kamerę, rozpoznawanie przedmiotów, mały chwytak do złapania rzeczy, neural network do wykonywania pewnych zadań, rozpoznawanie głosu, możliwość mówienia, ledy, możesz drugi, trzeci zbudować i spróbować swarm robotics itd. Uczę się od roku tych tematów na własną rękę. ROS już trochę znam i tam mają bardzo dobre parkiety/moduły do nawigacji (SLAM). Musisz do tego napisać plik URDF do twojego robota, abyś mógł mógł z Gazebo korzystać. Gratulacje za ślęczenie się nad skanerem Lidar. Ja sam bym chciał kupić taki za 100 zł na Olx po robocie sprzątającym, ale jeszcze nie umiem napisać biblioteki do niego jeszcze tego nie robiłem. Czy ten twój kod pasuje do innych takich czujników Lidar? Pozdrawiam serdecznie.

  • @KMICICRECORDSPOLSKA
    @KMICICRECORDSPOLSKA Рік тому

    Przez tą książkę się zorientowałem że to Polak ale od początku nie pasował mi ten akcent ;PPP Dobry film, pozdrawiam!

  • @dangi1
    @dangi1 2 роки тому

    Just a side note: you can create "virtual" serial ports on the Arduino

  • @SkyRevved
    @SkyRevved Рік тому

    @nikodembartnik can u share the circuit diagram for this project?

  • @conorstewart2214
    @conorstewart2214 Рік тому

    I’m a bit concerned about your comment about the grounds of the microcontrollers and motors. Batteries are essentially floating sources, they can be at different voltages relative to each other, so 5 V on one source might be a different voltage in reference to the other source, higher or lower and can cause damage or communication issues. You should be using a H-bridge to drive the motors and the ground of the microcontrollers should be connected to the ground of the H-bridge chip. Generally a lot of signals are referenced to ground, if a signal is referenced to ground and is transmitted between devices with separate power sources, if ground isn’t the same (connected) then it can cause a lot of issues.
    There are a few ways around the issues without connecting the grounds. The first is to use optocouplers and the second is to use a differential and isolated communications method, so it relies on the voltage between the differential pair and not the voltage in reference to ground. Neither of those options would be required for your robot. If you wanted to be extra safe, even though it isn’t needed, then you could connect the grounds together through a resistor.

  • @amirhosseinteymoori6537
    @amirhosseinteymoori6537 2 роки тому

    Please make a video of that circle shape robot that you mentioned in this video. How you build and designed it. I cant find any video about it in your channel

  • @Your_Friend_Corey
    @Your_Friend_Corey 2 роки тому +2

    My dog DID NOT like the sound of those voltage monitors beeping. I however thought everything was awesome. 👍👍

  • @razidaufaa9626
    @razidaufaa9626 Рік тому

    Excusme Sir, i want to ask, can using LiDAR A2M8? Thanks Sir

  • @CBWP
    @CBWP Рік тому

    Have you done any of the ros yet?

    • @nikodembartnik
      @nikodembartnik  Рік тому +1

      Not, yet but a new video featuring this robot platform with some cool computer on board coming soon!

  • @marcinsochacki8707
    @marcinsochacki8707 Рік тому

    Hejka, jak ten robot już raz zmapuję obszar, po którym się porusza to czy przy kolejnym przejeździe tej samej trasy korzysta z mapy, którą wcześniej zrobił czy od nowa musi skanować cały obszar po przez który jedzie?

  • @MG.102
    @MG.102 Рік тому

    hy nikodem thx for the video i can use NodeMCU V2 WiFi Amica ESP8266 ESP-12F also or, its basicaly the same?

  • @yoknone2786
    @yoknone2786 Рік тому

    whats the IDE in black theme you using to code arduino?

  • @_zsebtelep8502
    @_zsebtelep8502 Рік тому

    Where did you get the black circles?

    • @nikodembartnik
      @nikodembartnik  Рік тому

      I made them on my own, here you can see more: ua-cam.com/video/k6F_VQQY3RE/v-deo.html

  • @reparaciondelavadoras2024
    @reparaciondelavadoras2024 2 роки тому

    How can I measure the length of a straight length like a spool of paper?

  • @pntra1220
    @pntra1220 2 роки тому +1

    this robot is insane, are you going to implement things like SLAM, path planning, etc?

  • @alexanderyang126
    @alexanderyang126 Рік тому

    Thank you for Sharing I like your explanation! 🎉🎉🎉

  • @cyanide_stew
    @cyanide_stew Місяць тому

    9:41 Sounds like electroboom 😂

  • @ventusprime
    @ventusprime 11 місяців тому

    intresting video, I was intrested how you mange the control infrastructure GUI, same as me , but good video.

  • @mcrotbot
    @mcrotbot 2 роки тому

    awesome vid! any one can just put a jetson nano on it and call it a day, it's cool to see someone working with limited hardware

  • @imveryhungry112
    @imveryhungry112 2 роки тому

    What lidar sensor did u use

  • @MarvinOGarza
    @MarvinOGarza 2 роки тому

    Awesome video Nik, I was trying to find the video where you first built the first robot platform. Do you happen to have the link to it? Thanks!

  • @terryterry1655
    @terryterry1655 Рік тому

    R u using lidar lite

  • @vinnybeastpro8230
    @vinnybeastpro8230 Рік тому

    how did you learn to code

  • @davidmora4485
    @davidmora4485 Рік тому

    Está muy bien tu proyecto de fábricar un robot muy aparecido a los típicos robot aspiradores del mercado

  • @thomasre8073
    @thomasre8073 2 роки тому

    awesome bro, keep going.

  • @illiapiliugin8200
    @illiapiliugin8200 2 роки тому +1

    great project

  • @Pawe-mx9wc
    @Pawe-mx9wc 2 роки тому

    Co studiujesz byq?

  • @FIREMAN-ff3cj
    @FIREMAN-ff3cj 2 роки тому

    Why not rpi pico. at the moment is little bit expensive than arduino, but a lot more powerfull.

    • @nikodembartnik
      @nikodembartnik  2 роки тому +1

      I think that any Arduino MKR is comparable with Pico, there are more resources and libraries to get it working with Arduino

    • @foobarmaximus3506
      @foobarmaximus3506 2 роки тому

      It's doesn't matter what little micro-controller you use.

  • @AndersJackson
    @AndersJackson 2 роки тому

    Actually, in Linux you should probably us 'ip addess show' or 'ip ad' for short.

  • @Sam-dv3vt
    @Sam-dv3vt 2 роки тому

    Nice Videos, may i ask if you are only a hobbiest or in direction engineering?

    • @foobarmaximus3506
      @foobarmaximus3506 2 роки тому

      He's barely a "hobbiest" - your words. I think you meant "hobbyist". And, you're welcome.

  • @marleelopez5756
    @marleelopez5756 3 місяці тому

    how can we get the code?

  • @theexperimenter5813
    @theexperimenter5813 2 роки тому

    Great. Job. My. Friend

  • @yeah424
    @yeah424 2 роки тому +1

    Hello!
    I am a college student. I was looking for a self-driving delivery robot for the school competition!
    I heard that the stm32duino board has good performance, so I want to use the Lidar sensor with the video through this board, can you tell me if it's possible, please?? 😂

  • @lsav1085
    @lsav1085 2 роки тому

    Great video, thanks!

  • @bukszpryt_
    @bukszpryt_ 2 роки тому +1

    Rozumiem, że takie projekty kosztują i dobrze jest mieć sponsora, ale VPN nie ma nic wspólnego z bezpieczeństwem. Jedyne sensowne zastosowanie VPNa to omijanie blokad regionalnych oraz banów na różnych portalach, ewentualnie omijanie copyright-trollów, jeśli ściąga się coś z torrentów. Prywatność i bezpieczeństwo nie jest w żaden sposób poprawione korzystając z VPN.

  • @passonp.287
    @passonp.287 Рік тому

    Excuse me, I from Thailand. I need to your help. I see your video in your channel on UA-cam about Lidra Robot. Please give me about your Arduino's port connection with various ports.

  • @nikodembartnik
    @nikodembartnik  2 роки тому +3

    Go to nordvpn.com/nikodembartnik to get 70% off a 2-year plan plus 1 additional month free, only $3.56 per month. It’s risk free with Nord’s 30 day money-back guarantee!

  • @karanbirchahal3268
    @karanbirchahal3268 Рік тому

    Can you do a video on differential drive ?

  • @robmeek1318
    @robmeek1318 2 роки тому

    I’m looking forward to your video using ROS.

  • @VeerDaVlog
    @VeerDaVlog 2 роки тому

    This was the project that I wanna do.

  • @andersson.l.e
    @andersson.l.e 2 роки тому

    Nice and interesting video.

  • @placek7125
    @placek7125 Рік тому

    Kurde, Polak majstersztyk

  • @tiberiud1955
    @tiberiud1955 2 роки тому +1

    Can you build a 3d Scanner with Lidar ?

    • @nrdesign1991
      @nrdesign1991 2 роки тому

      Kind of, when you rotate the lidar around another axis. The lidar gets a plane, basically a slice of the room around it.

    • @foobarmaximus3506
      @foobarmaximus3506 2 роки тому

      Nope. Not like this you can't.

  • @adityapetkar3062
    @adityapetkar3062 2 роки тому

    Hello sir can you please make mapping room using computer vision and arduino

  • @iliasam3
    @iliasam3 2 роки тому

    Video name: "Can you map a room with LIDAR and Arduino?"
    But in fact the PC is doing all hard calculations?

    • @foobarmaximus3506
      @foobarmaximus3506 2 роки тому

      There are no "hard" calculations in this video. It's simple, basic Trig. You can do those in your head if you have to.

    • @iliasam3
      @iliasam3 2 роки тому

      @@foobarmaximus3506 I watched this video again, and I can say that you are right. There is no real "mapping" here, Lidar is used only for displaying current scans and simple movement controlling. But they are still executed at the PC. If I'm not mistaken, Arduino is not processing Lidar data at all.

  • @makehow1701
    @makehow1701 2 роки тому

    Good job, nice 👍🏻

  • @amrzakaria5290
    @amrzakaria5290 2 роки тому

    Very good, Thanks a lot.

  • @claudiobisinger71
    @claudiobisinger71 6 місяців тому

    Good job!

  • @royalfolkspark
    @royalfolkspark 11 місяців тому

    Research the Michaelson / Morley expirement.

  • @n1troplayz268
    @n1troplayz268 Рік тому

    Bro you are LEGEND

  • @CircuitCreator
    @CircuitCreator 2 роки тому +1

    Lidar 💫

  • @yannhuang6996
    @yannhuang6996 Рік тому

    Lol it’s a legit benefit now to be born knowing Chinese 😂

  • @iot_galaxy7424
    @iot_galaxy7424 2 роки тому

    Great video!

  • @Drxxx
    @Drxxx 2 роки тому

    Goood project! I like it

  • @luqash5013
    @luqash5013 2 роки тому

    Każdy czeka na frezarkę !

  • @gguy156
    @gguy156 Рік тому

    Google translator wasn't the optiopn. Right...

  • @christophersimson5881
    @christophersimson5881 Рік тому

    Clever chap 👍

  • @TheTurmanDreams
    @TheTurmanDreams 2 роки тому

    Great work !!!!

  • @sephiroth0733
    @sephiroth0733 9 місяців тому +1

    pretty cool

  • @RixtronixLAB
    @RixtronixLAB 2 роки тому

    Like it, thanks for sharing :)

  • @bemolkrolikowski2354
    @bemolkrolikowski2354 2 роки тому +1

    dobra robota mordo!