Book Image

Raspberry Pi Essentials

By : Jack Creasey
Book Image

Raspberry Pi Essentials

By: Jack Creasey

Overview of this book

Table of Contents (15 chapters)
Raspberry Pi Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Line-following robot architecture


Our architecture for a line-following robot will have a specific set of features, which are:

  • Wireless remote access to the robot

  • Text-driven interface for remote control using Python

  • Buttons on the robot to start/stop and shutdown the robot processing

  • A single PiCam camera sensor

  • Two-wheel drive with a dragging tail

We will provide you with a downloadable-parts list for this model, but, you could just as easily implement it as either a tracked or four-wheel skid-steer robot. The following image is our line-following robot:

Software architecture

We will develop our robot based on a multi-module approach. This strategy will enable you to analyze the methodology used to implement the robot. The software architecture for our line-following robot is shown in the following image:

Software module functions

Each software module in the architecture will have a specific function, as detailed in the following table:

Module

Description

navigate.py

When started, this module...