Overview
The software for Pursuit and Tie utilized the Events and Services Framework. At a high level, the main state machine is the Driving Service, which chooses targets, determines if the car is aligned, and registers targets being shot. The Motor Service is responsible for the steering of the servo motor. The Gear Service is a state machine that lets users interact with the gear shift stick. The Counter and Activity services are the 60 second game timer and 30 second inactivity timer respectively. Lastly, the LED Service communicates the passage of time, score, and end message to the user.
Linked below are pages where you can find detailed descriptions, diagrams, and pseudo-code for each of the services.
Linked below are pages where you can find detailed descriptions, diagrams, and pseudo-code for each of the services.