How to use Lidars in Webots? // Webots Lidar Code in Python Tutorial

Поділитися
Вставка
  • Опубліковано 1 сер 2024
  • In this Webots tutorial, we will learn how to use lidars in Webots.
    The webots controller code for lidar is written in Python
    ========== TIMINGS ==========
    0:00 Intro
    0:32 Create new Webots project
    1:04 Webots Environment Set up
    2:29 Adding a lidar to robot in Webots
    3:39 Lidar settings in Webots
    5:16 Webots controller code in Python
    8:48 Webots Lidar code in Python
    10:30 Webots lidar simulation
    11:46 Webots lidar point cloud
    13:25 Outro
    If you enjoyed this video, give it a like and tell me your thoughts in the comment below.
    ========== RELATED VIDEOS ==========
    🍋 Webots Python Tutorial series:
    • Webots Tutorial Series...
    🍋 Basics on writing controller code in Python for Webots:
    • Webots tutorial 3: Con...
    🍋 Webots Lidar Code in C:
    Coming soon
    🍋 Webots Lidar Code in C++:
    Coming soon
    ========== USEFUL RESOURCES ==========
    🍋 Custom Differential Drive Robot PROTO for Webots:
    github.com/KajalGada/UA-cam-...
    🍋 Instructions: how to download and use Webots PROTO file:
    • Webots Question and An...
    🍋 Webots Cyberbotics Lidar resource page
    cyberbotics.com/doc/reference...
    ========== CONNECT WITH ME ==========
    Have questions about this video, use the comment section.
    Have questions about Webots, ROS, robotics, job search etc.?
    Read this on how to contact me? kgada.info/contact/
    My social media presence (@kajalgada)
    🍋 LinkedIn: / kajalgada
    🍋 Instagram: / kajalgada
    🍋 Facebook page: / kajal-gada-youtuber-11...
    🍋 Github: github.com/KajalGada
    🍋 Personal Website: kgada.info/
    🍋 Clubhouse: @kajalgada
    🍋 Community about studying and working in the US: / roboticsinusa
    ========== ABOUT ME ==========
    My name is Kajal Gada. I am a Robotics Software Engineer and a youtuber. My goal is to develop algorithms for realizing robot operations in the real world. And it is just absolute fun to code and solve problems.
    I started my journey in Robotics by working on small personal projects such as a line follower with an arduino. I then pursued and graduated with a Masters in Robotics from University of Maryland in 2017. After graduation, I have worked at Reality AI, Qualcomm and Brain Corp.
    I am also a UA-camr, it is my way of giving back and helping the community grow. As a women and an international student in the US, I am aware of the challenges to break through and have a successful career. I share my insights and also teach robotics through my youtube channel.
    Subscribe to my youtube channel: ua-cam.com/users/kajalgada?sub_conf...
    ========== Gear I usually use ==========
    🍋 Camera: YI 4K Action and Sports Camera
    🍋 Camera: iPhone XS
    🍋 Tripod: Ravelli APLT6M 72" Light Weight Aluminum Tripod
    🍋 Lights: Neewer Ring Light Kit
    🍋 Mic: SoLID Lavalier Lapel Microphone
    🍋 Recording: Voice Memo App on iPhone or Mac
    🍋 Screen recording on MacOS: quickTime Player
    🍋 Screen recording on Ubuntu:
    🍋 Editing Software: Final Cut Pro X
    🍋 Thumbnail Designs: Canva
    ========== Credits ==========
    🍋 Like & subscribe short clip in the end: • UA-cam like subscribe...

КОМЕНТАРІ • 15

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

    Truly helpfull. Thank you.

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

      Glad it was helpful! :)

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

    Thank you Kajal! How can I do to rotate a robot to an specific point and then move to it?

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

    Thank you Kajal! Do you have a tutorial on how to use camera in webots with the controller code in python?

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

    This was helpful. Thanks. Patiently waiting waiting for the code in C though🙂

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

      hahahah I know a MECN3012 student when I see one. Let's have our discussion here since we are waiting for C code.
      did you manage to execute a 'for' loop successfully? that is where I am stuck.

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

      I created a video on how to use lidar with the code in C. It is going live tomorrow. Here is a link: ua-cam.com/video/ni5NXoQ2-6Q/v-deo.html

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

      I can understand that, it is tricky cause of the use of pointers. Took me a few tries to figure out as well.

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

      @@KajalGada Thank you very much.

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

      @@lesegokeogatile5735 I was also stuck on that. :-(

  • @will-le3kl
    @will-le3kl 2 роки тому

    thanks for your video, can lidar show like rgb camera?

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

      to the best of my knowledge no such setting exists. Fundamentally, they both work differently.

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

    Hi Kajal, how did you set look up tables? No matter what i try it always returns value from look up table, so it doesn't react to different colors.

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

      Lookup table is a bit confusing in Webots. Think of it as a graph so make sure you have various range options in your look up table.
      Also lidar gives distance readings and is mostly indifferent to colors.
      If you want to detect different colors, try IR sensors. I talk about IR sensors here - ua-cam.com/video/D0jhvFZJ5Ok/v-deo.html
      Additional resource is webots discord channel.