Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
DriverStateDefaults Struct Reference

Informs about leader. More...

#include <MSDriverState.h>

Static Public Attributes

static double errorNoiseIntensityCoefficient = 0.2
static double errorTimeScaleCoefficient = 100.0
static double freeSpeedErrorCoefficient = 0.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.

See also
difficultyFunction();

The desired value of the quotient myTaskDemand/myTaskCapability. Influences the fixed point of the process myTaskCapability -> myTaskDemand,

See also
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 lane

Traffic items in the current neighborhood of the vehicle.

Acceleration error. Modelled as an Ornstein-Uhlenbeck process.

See also
updateAccelerationError()

Error of estimation of the relative speeds of neighboring vehicles

Error of estimation of the distance/headways of neighboring vehicles

Default values for the MSDriverState parameters

Definition at line 689 of file MSDriverState.h.

Field Documentation

◆ errorNoiseIntensityCoefficient

double DriverStateDefaults::errorNoiseIntensityCoefficient = 0.2
static

Definition at line 713 of file MSDriverState.h.

Referenced by MSDevice_DriverState::insertOptions().

◆ errorTimeScaleCoefficient

double DriverStateDefaults::errorTimeScaleCoefficient = 100.0
static

Definition at line 712 of file MSDriverState.h.

Referenced by MSDevice_DriverState::insertOptions().

◆ freeSpeedErrorCoefficient

double DriverStateDefaults::freeSpeedErrorCoefficient = 0.0
static

Definition at line 718 of file MSDriverState.h.

Referenced by MSDevice_DriverState::insertOptions().

◆ headwayChangePerceptionThreshold

double DriverStateDefaults::headwayChangePerceptionThreshold = 0.1
static

Definition at line 716 of file MSDriverState.h.

Referenced by MSDevice_DriverState::insertOptions().

◆ headwayErrorCoefficient

double DriverStateDefaults::headwayErrorCoefficient = 0.75
static

Definition at line 717 of file MSDriverState.h.

Referenced by MSDevice_DriverState::insertOptions().

◆ initialAwareness

double DriverStateDefaults::initialAwareness = 1.0
static

Definition at line 711 of file MSDriverState.h.

Referenced by MSDevice_DriverState::insertOptions().

◆ maximalReactionTimeFactor

double DriverStateDefaults::maximalReactionTimeFactor = 1.0
static

Definition at line 719 of file MSDriverState.h.

◆ minAwareness

double DriverStateDefaults::minAwareness = 0.1
static

Definition at line 710 of file MSDriverState.h.

Referenced by MSDevice_DriverState::insertOptions().

◆ speedDifferenceChangePerceptionThreshold

double DriverStateDefaults::speedDifferenceChangePerceptionThreshold = 0.1
static

Definition at line 715 of file MSDriverState.h.

Referenced by MSDevice_DriverState::insertOptions().

◆ speedDifferenceErrorCoefficient

double DriverStateDefaults::speedDifferenceErrorCoefficient = 0.15
static

Definition at line 714 of file MSDriverState.h.

Referenced by MSDevice_DriverState::insertOptions().


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