Using state-machine programming in automatic driving system




© 2008 A. J. Hazanovsky, A. A. Shalyto

Saint-Petersburg State University of Information Technologies, Mechanics and Optics

Project documentation
Source code
Executable program

Аннотация

This program simulates a one-way road. Every car has a minimal set of physical parameters (characteristics): size, speed, speeding up, braking strain and power. Every car can be operated either by the autopilot system or manually. The autopilot system can solve the two main problems: avoid crashes and provide conditions for moving with required (set) speed.

This work was developed on the basis of the "Automatic Driving System". http://is.ifmo.ru/projects_en/carpilot/

We've added more road users and we've made roads more complicated. Moreover we've made detailed testing and computer-aid engineering of road situations (cases) to prove that this program can be used for the observation of roads/highways. In this work cars can have different logic.

We made some usefull examples which illustrate some different situations on the highway. For loading this examples use button "Load".