Eclipse SUMO - Simulation of Urban MObility
DriverStateDefaults Struct Reference

Informs about leader. More...

#include <MSDriverState.h>

Collaboration diagram for DriverStateDefaults:

Static Public Attributes

static double errorNoiseIntensityCoefficient = 0.2
 
static double errorTimeScaleCoefficient = 100.0
 
static double headwayChangePerceptionThreshold = 0.1
 
static double headwayErrorCoefficient = 0.75
 
static double initialAwareness = 1.0
 
static double maximalReactionTimeFactor = 1.0
 
static double minAwareness = 0.1
 
static double speedDifferenceChangePerceptionThreshold = 0.1
 
static double speedDifferenceErrorCoefficient = 0.15
 

Detailed Description

Informs about leader.

Informs about pedestrian.Informs about upcoming speed limit reduction.Informs about upcoming junction.Takes into account vehicle-specific factors for the driving demand For instance, whether vehicle drives on an opposite direction lane, absolute speed, etc.Trigger updates for the state variables according to the traffic situation (present traffic items)Updates the internal variables to track the time between two calls to the state update (i.e., two action points). Needed for a consistent evolution of the error processes.Calculates a value for the task difficulty given the capability and the demand and stores the result in myCurrentDrivingDifficulty.

See also
difficultyFunction()Transformation of the quotient demand/capability to obtain the actual difficulty value used to control driving performance.
Note
The current implementation is a continuous piecewise affine function. It has two regions with different slopes. A slight ascend, where the capability is larger than the demand and a region of steeper ascend, where the demand exceeds the capability.Updates the myTaskCapability in dependence of the myTaskDifficulty to model a reactive level of attention. The characteristics of the process are determined by myHomeostasisDifficulty and myCapabilityTimeScale.
Todo:
Review the implementation as simple exponential process.

Task capability (combines static and dynamic factors specific to the driver and the situation, total capability, attention, etc.). Follows myTaskDemand with some inertia (task-difficulty-homeostasis).Task Demand (dynamic variable representing the total demand imposed on the driver by the driving situation and environment. For instance, number, novelty and type of traffic participants in neighborhood, speed differences, road curvature, headway to leader, number of lanes, traffic density, street signs, traffic lights)Cached current value of the difficulty resulting from the combination of task capability and demand.

See also
calculateDrivingDifficulty()Slopes for the dependence of the difficulty on the quotient of demand and capability.
difficultyFunction();The desired value of the quotient myTaskDemand/myTaskCapability. Influences the fixed point of the process myTaskCapability -> myTaskDemand,
adaptTaskCapability()Determines the time scale for the adaptation process of task capability towards the task difficulty.Factor for the demand if driving on an opposite direction laneTraffic items in the current neighborhood of the vehicle.Acceleration error. Modelled as an Ornstein-Uhlenbeck process.
updateAccelerationError()Error of estimation of the relative speeds of neighboring vehiclesError of estimation of the distance/headways of neighboring vehiclesDefault values for the MSDriverState parameters

Definition at line 677 of file MSDriverState.h.

Field Documentation

◆ errorNoiseIntensityCoefficient

double DriverStateDefaults::errorNoiseIntensityCoefficient = 0.2
static

◆ errorTimeScaleCoefficient

double DriverStateDefaults::errorTimeScaleCoefficient = 100.0
static

◆ headwayChangePerceptionThreshold

double DriverStateDefaults::headwayChangePerceptionThreshold = 0.1
static

◆ headwayErrorCoefficient

double DriverStateDefaults::headwayErrorCoefficient = 0.75
static

◆ initialAwareness

double DriverStateDefaults::initialAwareness = 1.0
static

◆ maximalReactionTimeFactor

double DriverStateDefaults::maximalReactionTimeFactor = 1.0
static

Definition at line 706 of file MSDriverState.h.

◆ minAwareness

double DriverStateDefaults::minAwareness = 0.1
static

◆ speedDifferenceChangePerceptionThreshold

double DriverStateDefaults::speedDifferenceChangePerceptionThreshold = 0.1
static

◆ speedDifferenceErrorCoefficient

double DriverStateDefaults::speedDifferenceErrorCoefficient = 0.15
static

The documentation for this struct was generated from the following files: