-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtodo.txt
More file actions
46 lines (39 loc) · 1.13 KB
/
todo.txt
File metadata and controls
46 lines (39 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
TODO FOR PROJECT
* Design a UI
- Position of train
- State of each switch
- List of recently triggered sensors & updated times
- Splash Screen
- shell prompt
* Calibrate the speeds
- Run tests to determine the speeds for each train
* Error / Fault Detection
- Faulty sensor (mis-trigger)
- Faulty switch (switch during running)
- Faulty sensor (sensor stops triggering)
- Train getting stuck on switch during reverse
- UART1 becomes unplugged - no commands go through
- Faulty state after running for a long time
-
- How else can the train fail?
* Track Layout
- Need to store:
- switches
- sensors
- stops
- distances between everything
- state of everything
- Need to parse model file to hardcode the data into our code
* Keep track of the train
- THIS MUST BE EXTENSIBLE TO MULTIPLE TRAINS
- distance
- speed
- location
- destination
- currently allocated track
* Prediction System (Detective - his name should be Watson)
- Use the train data to predict where train will be
- Plan routes (source -> dest)
- Reserve tracks
- Spawns workers to get work done
* Documentation