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...
Truly helpfull. Thank you.
Glad it was helpful! :)
Thank you Kajal! How can I do to rotate a robot to an specific point and then move to it?
Thank you Kajal! Do you have a tutorial on how to use camera in webots with the controller code in python?
This was helpful. Thanks. Patiently waiting waiting for the code in C though🙂
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.
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
I can understand that, it is tricky cause of the use of pointers. Took me a few tries to figure out as well.
@@KajalGada Thank you very much.
@@lesegokeogatile5735 I was also stuck on that. :-(
thanks for your video, can lidar show like rgb camera?
to the best of my knowledge no such setting exists. Fundamentally, they both work differently.
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.
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.