Clarification needed for Source/Sink/Swarm in TrafficAction
In the source, if some radius is defined at the start of a 3-lane road, how can vehicles generate from the position? The radius has to be big enough to cover all three lanes to enable generating cars from all three lanes? Can it always generate vehicles from the center of lanes (no offset from the center)?
In the sink, vehicles got deleted when they touch the area defined by the position/radius? Or details like this all rely on how the simulation software interprets?
Similar question for Swarm, how the generated vehicles are arranged around the referenced entity? Only an eclipse-shaped area is defined, but how the vehicles are scattered? like are they supposed to begin with center of lanes? What are the lateral/longitudinal gaps between vehicles?
And the user guide said “if a vehicle is leaving the blue area it is deleted and a new vehicle will be spawned instead” (page 25 of the 1.0 user guide), the new one will be generated at where?
In terms of vehicles generated from source or swarm, I guess their velocities can follow some distribution, not just a fixed speed number, right?