Webots Tutorial: Line Follower Robot using epuck // Controller code in Python

Published: 10 December 2020
on channel: Kajal Gada
60,567
655

In today's webots tutorial video, we are doing a fun project of line follower robot. A line following robot is a great way to get started with robotics and only requires level 1 coding skills.

We will start by setting up our environment in webots. Next we will add a robot from the webots library which is e puck and add IR sensors. Then we will write our code which is controller in webots in python. I will go over how to detect the line using IR sensors and use those values to make a line following robot in Webots.

🕑 TIMINGS

0:00 Intro
0:54 Set up the environment
1:12 Add e-puck robot
1:40 Adding IR sensors
3:26 Adding Line (Track)
4:55 Writing controller (Python)
6:04 How IR sensors work?
6:40 Reading IR values
7:50 Line follower robot
9:27 Common problems with line follower

If you enjoyed this video, give it a like and tell me your thoughts in the comment below.

🚀 VIDEO RESOURCES

Link to download track one (proto node)
https://github.com/KajalGada/Youtube-...

Track one was created from CAD model by DragerDG Robotics. Link to youtube channel:
   / drakerdg  

List of functions available inside controller in Webots for Python:
https://cyberbotics.com/doc/reference...

Information about distance and infra-red (IR) sensors in Webots:
https://cyberbotics.com/doc/reference...

Catch the entire webots tutorial video series here:
   • Webots Tutorial Series in Python // Get st...  

How to write a controller in Webots in Python to enable motors and drive a differential drive robot?
   • Webots tutorial 3: Controller code to driv...  

How to drive (straight, turn in place, wide turn) differential drive robot in Webots?
   • Webots tutorial 3: Controller code to driv...  

🚀 FREE RESOURCES

Robotics newsletter (Job listings & updates) sign up:
https://sendfox.com/kajalgada

Roadmap to Robotics
  / roadmap-to-robotics-part-1  

List of Robotics projects:
https://sendfox.com/lp/1rx02z

Take Home Coding Challenge Checklist:
https://sendfox.com/lp/3o829o

📹 RELATED VIDEOS

Webots Line Follower Code in C++ // Webots Tutorial
   • Webots Line Follower with code in C++ // W...  

Webots Tutorial Series in Python // Get started with Robotics using Webots
   • Webots Tutorial Series in Python // Get st...  

Webots Tutorial Project Wall follower robot using e-puck // Controller code in Python
   • Webots Tutorial Project Wall follower robo...  

Webots ROS2 Tutorial
   • Webots ROS2 Tutorial  

🤝 CONNECT WITH ME

Contact me: https://kgada.info/contact/
LinkedIn:   / kajalgada  
Instagram:   / kajalgada  

📚 ASSISTANCE WITH TUTORIAL, ASSIGNMENT, PROJECTS

If you need help with a tutorial or project on this channel, connect on slack:
https://sendfox.com/lp/1k5w9d

If you need help with a tutorial, assignment or project of your own:
Robotics Discord Community:   / discord  
Webots Discord Community:   / discord  
ROS Discord Community:   / discord  

🤖 ABOUT ME

Hi, I am Kajal. A Robotics Engineer and a business owner. I created this space to help students and young professionals build a career in Robotics.

Subscribe to my youtube channel: http://youtube.com/kajalgada?sub_conf...

🤟🏽 CREDITS
Like & subscribe clip
   • Video  

========== 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
Editing Software: Final Cut Pro X
Thumbnail Designs: Canva


On this page of the site you can watch the video online Webots Tutorial: Line Follower Robot using epuck // Controller code in Python with a duration of hours minute second in good quality, which was uploaded by the user Kajal Gada 10 December 2020, share the link with friends and acquaintances, this video has already been watched 60,567 times on youtube and it was liked by 655 viewers. Enjoy your viewing!