SimDriver
0.1
|
The agent model main class. More...
#include <AgentModel.h>
Public Member Functions | |
AgentModel ()=default | |
~AgentModel () override=default | |
void | init () |
void | step (double simulationTime) |
![]() | |
Interface ()=default | |
virtual | ~Interface ()=default |
Input * | getInput () |
const Input * | getInput () const |
State * | getState () |
const State * | getState () const |
Memory * | getMemory () |
const Memory * | getMemory () const |
Parameters * | getParameters () |
const Parameters * | getParameters () const |
Protected Member Functions | |
void | decisionProcessStop () |
void | decisionLaneChange () |
void | decisionLateralOffset () |
void | consciousVelocity () |
void | consciousStop () |
void | consciousFollow () |
void | consciousLaneChange () |
void | consciousLateralOffset () |
void | consciousReferencePoints () |
double | subconsciousLateralControl () |
double | subconsciousFollow () |
double | subconsciousStop () |
double | subconsciousSpeed () |
double | subconsciousStartStop () |
Protected Attributes | |
agent_model::StopHorizon | _stop_horizon {} |
attribute to store the stop points | |
agent_model::VelocityHorizon | _vel_horizon {} |
attribute to store the stop points | |
agent_model::Filter | _filter {} |
attribute to store the speed reaction filter | |
agent_model::DistanceTimeInterval | _lateral_offset_interval |
attribute to store the lateral offset interval | |
agent_model::DistanceTimeInterval | _lane_change_process_interval |
attribute to store the lane change interval | |
![]() | |
Input | _input {} |
The input of the agent model. | |
State | _state {} |
The state of the agent model. | |
Memory | _memory {} |
The memory of the agent model. | |
Parameters | _param {} |
The parameters of the agent model. | |
Additional Inherited Members | |
![]() | |
typedef agent_model::Input | Input |
typedef agent_model::State | State |
typedef agent_model::Memory | Memory |
typedef agent_model::Parameters | Parameters |
The agent model main class.
|
default |
Default constructor
|
overridedefault |
Default destructor
|
protected |
Calculates the net distance to the relevant following traffic participants
|
protected |
Calculates the lane change process
|
protected |
Calculates the offset to be added to the reference points
|
protected |
Calculates the reference points for the lateral motion control
|
protected |
Calculate the process of the stop maneuver
|
protected |
Calculates the target speed based on rules, the curvature of the track
|
protected |
Calculates the decision to perform a lane change
|
protected |
Calculates the decision to perform a lateral offset
|
protected |
Calculates process of stopping and starting
void AgentModel::init | ( | ) |
Initializes the driver model. Shall be ran before the the first step is executed.
void AgentModel::step | ( | double | simulationTime | ) |
Performs a driver model step. The driver model must be initializes (
simulationTime | The current simulation time |
|
protected |
Calculates the reaction to follow other traffic participants
|
protected |
Calculates the reaction for the lateral motion control based on the reference points
|
protected |
Calculates the reaction to reach the desired speed, including predictive control
|
protected |
Calculates the pedal behavior when starting or stopping for sub-microscopic simulations
|
protected |
Calculates the reaction to stop the vehicle at the desired point