Table of Contents
- Project Management
- Team Work Agreement
- Individual Responsibility Agreement
- Software Documentation
- Introduction
- User Manual
- Program Description for Developers
- Pseudocode
- Final Program with Comments
- Discussion
- List of Figures and Tables
- References
Executive Summary
As per the directive of the problem-solving project (PSP) a team-designed code was developed to operate a train. The code was designed to meet a variety of requirements, including but not limited to, alternating speeds in an urban vs rural environment and a gate system to stop highway vehicular traffic safely when the train enters an urban environment. The system was also including a ‘safestart’ control, automatically starts the train at the urban speed mode, lowers that gate after a delay of the lights flashing, to make sure a sudden start up in an urban environment will not cause a collision with the train. The code for the train is unending, no error in the code will break the program, stopping only when commanded to by authorized controllers to ensure public safety.
The sensor gates behave as approach and departure detectors for the train in the urban area, flagging the program to check the code that runs the urban speed, gate lowering, and gate warning lights code. Keeping the train automatous of a controller, with conditional flags so that an erroneous obstruction in the gate will no stall the program or prevent the train from performing as it should.
The perfected program commented to explain each code section, accompanied by a detailed manual for programmers and the general public and a pseudo code explaining the overall code structure are included further in this report to clarify the workings of the train program.