Skip to Content
Python Robotics Projects
book

Python Robotics Projects

by Prof. Diwakar Vaish
May 2018
Intermediate to advanced
340 pages
7h 20m
English
Packt Publishing
Content preview from Python Robotics Projects

Giving the car self-steering capabilities

I hope that you are having fun with this little zippy thing. It is interesting how simple the application of sensors can be and how much difference it can make. As you have learned the basics, it's now time to move ahead and give the car some more powers.

In the previous code, we just made the robot stop in front of the obstacles, why don't we make it steer around the car? It's going to be super simple yet super fun. All we need to do is to tweak the function stop() and make it able to turn. Obviously, we will also change the name of the function from stop() to turn() just for the sake of clarity. One thing to remember that you won't have to rewrite the code; all we need to do is some minor tweaking. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Robotics using Python

Learning Robotics using Python

Lentin Joseph
Hands-On ROS for Robotics Programming

Hands-On ROS for Robotics Programming

Bernardo Ronquillo Japón

Publisher Resources

ISBN: 9781788832922Supplemental Content