Skip to content

syedbukhari2/SwiftBot-Traffic-Lights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

SwiftBot Traffic Lights Program

Overview

A SwiftBot (also known as Trilobot) is a Raspberry Pi powered robot used throughout the first year of Computer Science at Brunel University of London.

This robot features:

  • 2x front wheel drive, 1x rear castor
  • Four tactile buttons and status LEDs
  • Six-zone RGB underlighting
  • Front facing ultrasound distance sensor and camera mount.

SwiftBot image

🚦 Project

This assignment implements a traffic light system where the robot should perform a different task based on the detected colour.

When the program finishes executing, it should also produce a log of execution in a text file.

🚀 Additional functionality

In addition to the mimimum requirements of the assignment, I have added several additional features to this project:

  • Create profiles on the program to store prefrences such as:
    • Username and password
    • Default colour shown during search for lights.
    • Choice of mode between “default” and “emergency".
  • Different modes:
    • Default mode: SwiftBot will behave normally and adhere to the traffic lights as part of the basic requirements above.
    • Emergency mode: SwiftBot will avoid any traffic light unless it is green. If a traffic light is detected, it should go around it in a “C” shape.
  • Retrace steps that are stored in a stack throughout the program.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages