We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31c5f77 commit 3b63c67Copy full SHA for 3b63c67
README.md
@@ -1,2 +1,5 @@
1
# Traffic Modelling
2
3
+## Development
4
+
5
+`SUMO_HOME` must be set to the path of your SUMO installation, and `$SUMO_HOME/tools/sumolib` must exist.
main.py
@@ -0,0 +1,15 @@
+#!/usr/bin/env python3
+import sys
+import os
6
+if "SUMO_HOME" not in os.environ:
7
+ print("SUMO_HOME is not set")
8
+ sys.exit(1)
9
10
+sumolib_path = os.path.join(os.environ.get("SUMO_HOME"), "tools")
11
+sys.path.append(sumolib_path)
12
13
+import sumolib
14
15
+# TODO
0 commit comments