abstreet/sumo
Dustin Carlino 6f5f001406 Address SUMO PR comments and also rebase. Mainly:
- use an enum for vehicle types
- distinguish lane and internal lane IDs
2021-01-05 12:44:38 -08:00
..
src Address SUMO PR comments and also rebase. Mainly: 2021-01-05 12:44:38 -08:00
Cargo.toml Address SUMO PR comments and also rebase. Mainly: 2021-01-05 12:44:38 -08:00
README.md Address SUMO PR comments and also rebase. Mainly: 2021-01-05 12:44:38 -08:00

SUMO interoperability

The purpose of this crate is to explore possible interactions between A/B Street and SUMO. Some of the ideas:

  • Convert SUMO networks to ABST maps, to make use of SUMO's traffic signal heuristics and junction joining
  • Convert SUMO demand to ABST scenarios, to leverage all of the existing demand generation techniques
  • Prototype a new SUMO frontend by gluing ABST UI code to TraCI

Usage

A quick SUMO primer. To convert an OSM file into a SUMO network:

netconvert --osm-files data/input/seattle/osm/montlake.osm --output.street-names --keep-edges.components 1 -o montlake.net.xml

To convert the network into an ABST map:

cargo run --bin sumo montlake.net.xml

To view it in ABST:

cargo run --bin game -- --dev data/system/sumo/maps/montlake.bin