-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SUMO Groundtruth Reader #827
base: main
Are you sure you want to change the base?
Conversation
…rdinates==True. Requires network to be geo-referenced.
This is actually pretty cool and topical. We are using SUMO + MOSAIC and Stone Soup for simulation in our company! I wrote a MOSAIC plugin (a new ambassador in their terminology) that converts MOSAIC objects to DIS (Distributed Interactive Simulation) entities so that SUMO + MOSAIC can be used for ground truth simulation with DIS. I also wrote a Stone Soup DIS reader to read in that ground truth from a DIS entity state PDU so that we can use the data in Stone Soup. The pipeline goes: SUMO --> MOSAIC --> DIS Ambassador --> Stone Soup DIS Reader --> Stone Soup. I was planning on contributing the reader back to here and the ambassador back to MOSAIC eventually when I've used it a bit more (the DIS part is not nearly feature complete). If people are interested in a very early version of the reader (it will need additional work) I can contribute it sooner. |
It's good to hear how you're using Stone Soup! Hopefully this SUMO reader can be a good starting point for those looking at using both pieces of software.
I think your DIS Reader would make a great addition to the repository, and would encourage you to contribute it when it's in a form you're happy with. |
I created an issue to remind me to do this: #849. |
stonesoup/reader/sumo.py
Outdated
sys.path.append(tools) | ||
import traci | ||
else: | ||
sys.exit("Declare environment variable 'SUMO_HOME'") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should just raise an error, rather than sys.exit()
This pull request introduces a new groundtruth reader, namely the SUMOGroundTruthReader which utilizes the urban mobility simulation software, SUMO.
See: https://github.com/eclipse/sumo