PURSUIT & TIE
  • Home
  • About
  • Electrical
  • Mechanical
  • Software
    • Driving Service
    • Motor Service
    • Gear Service
    • Counter Service
    • Activity Service
    • LED Service
    • Audio
  • Other
    • BOM
    • Gems of Wisdom

Driving Service Software Design

Description

The Driving Service is a State Machine that controls the aiming of the car. It picks a random point LED to light up and the agent must align the car with it to be able to shoot the target. Below is the state diagram, pseudo-code, and code listing.

State Diagram

Picture

Pseudo-code

Your browser does not support viewing this document. Click here to download the document.

Header File

Your browser does not support viewing this document. Click here to download the document.
drivingservice.h
File Size: 0 kb
File Type: h
Download File


C File

Your browser does not support viewing this document. Click here to download the document.
drivingservice.c
File Size: 9 kb
File Type: c
Download File

Powered by Create your own unique website with customizable templates.
  • Home
  • About
  • Electrical
  • Mechanical
  • Software
    • Driving Service
    • Motor Service
    • Gear Service
    • Counter Service
    • Activity Service
    • LED Service
    • Audio
  • Other
    • BOM
    • Gems of Wisdom