Allow for TrafficActions to have different geometries
Bugzilla Link | 4170 |
Created on | Oct 10, 2019 09:00 |
Version | 0.9.1 |
Extended Description
Currently, Sources and Sinks are circular, while the swarm is elliptical. In some use cases sources and sinks are being used to spawn/filter very specific constellations of vehicles. In order to allow for an easier way of doing that instead of defining many sources or sinks, it is proposed to allow for ifferent geometries.
The most universal approach would be to allow the user to supply a sorted list of waypoints/vertices or to take in an unsorted list and use the convex hull of these.
For starters, it might also help to allow the definition on an elliptical shape (semi-major/minor axis instead of radius).