Revision 1990

View differences:

trunk/code/projects/traffic_navigation/graph_parser.py
1
import os
2

  
3
p = os.popen('./readSerial.sh', "r")
4
while 1:
5
    line = p.readline()
6
    if not line: break
7
    print line
trunk/code/projects/traffic_navigation/graph-tests/self-loops.txt
1
80 1 1 2
2
80 2 2 3
3
80 3 3 1
trunk/code/projects/traffic_navigation/graph-tests/sinks.txt
1
80 1 1 2 3
2
80 2 2 3
3
80 3 3
trunk/code/projects/traffic_navigation/graph-tests/basic-with-junk.txt
1
80 1 2
2
42 3 8
3
80 2 3
4
1337 8 7
5
80 3 1
trunk/code/projects/traffic_navigation/graph-tests/basic.txt
1
80 1 2
2
80 2 3
3
80 3 1

Also available in: Unified diff