Sensor_Junction¶
This module represents the information acquisition of the driver-model on junctions. For assessing the junction the information get transformed to a format, which is usable for the signal transmission from each Modular-Driver module to another. These are the signals “MentalRoads”, “IntersectionAgents” and “EgoViewIntersection”. Here also drivertype specific routes can be defined through the static system configuration. The routes can be defined with concrete routes where every OD-road is described or with a target road for each.
MentalRoads¶
Is a map with the mental representation of all relevant roads with their sections and lanes. A road gets relevant, when its on the egos route or on the route of a relevant intersection agent. The class MentalRoad is used to offer geometrical calculations along the route of an agent. It consists of MentalSections and their MentalLanes.
IntersectionAgents¶
Is a vector with the agent representation of relevant agents around the next junction in ego driving direction. The agents are added, if they are approaching or on the junction and the connecting road on their route is intersecting with the egos connecting road.
EgoViewIntersection¶
Is a container with all relevant information about the junction for the ego driver. Those are e.g. laneId, targetLaneIdBeforeJunction, the intersecting road ids, traffic control or distance to the junction.
This module can be parameterised with the following parameters through the static system configuration with the corresponding Ids.
Parameter |
Type |
Unit |
Id |
Description |
Example |
Defaults to |
---|---|---|---|---|---|---|
PreDefinedRoutes |
String |
0 |
A string of possible routes, which are separated with semicolons, whereas the OD-roads are separated with a comma. If only one road is given per route it is assumed that this is the target. (example corresponding to the given example “3,4”) |
1,2,3;1,2,4 |
||
PreDefinedDirections |
String |
1 |
A string of the corresponding OD-directions to the routes defined in PreDefinedRoutes (If in OD direction “1” or “true”, else “0” or “false”) |
1,1,1;1,1,0 or true,1,… |
||
RoutePriorities |
DoubleVector |
2 |
The priorities of the corresponding route for the stochastic route selection (here separated with comma) |
1.0,1.0 |