openmobility-wg / userstories

Eclipse Public License 2.0
8 stars 2 forks source link

Create traffic surrounding an ego-vehicle "on-the-fly" #10

Open RobertHilbrich opened 5 years ago

RobertHilbrich commented 5 years ago

As a New User

I want to create traffic surrounding an ego-vehicle "on-the-fly"

In order to make quick functional tests in Co-Simulation setups without needing to know much about SUMO and its parametrization. E.g. it would be interesting to set high-level parameters such as average density and speed and randomly generate vehicles at the boundary of a certain subscription.

Acceptance criteria t.b.d.

behrisch commented 5 years ago

Is this more than adding a new route file (or rather a trip file generated with randomTrips.py) dynamically?

jakobkaths commented 5 years ago

It's probably already possible with current technology and randomTrips would deliver the right input, but I don't imagine it very comfortable to use and/or efficient. I could be wrong though. I imagine something that corresponds to the subscription concept. But instead of only receiving information from surrounding road users, they should rather be generated randomly at the boundaries of the subscription and even removed after leaving the subscription radius for reasons of computing efficiency.

kschrab commented 5 years ago

I second that! I also would imagine traffic to be generated AND eliminated at boundaries of e.g. a circle around the ego-vehicle. This could be quite complex as the traffic patterns and volumes to be created differ between scenarios (e.g. city vs. highway). I could also imagine to have other traffic participants included, such as pedestrians and cyclists.