Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSVehicle::DriveProcessItem Struct Reference

Drive process items represent bounds on the safe velocity corresponding to the upcoming links. More...

#include <MSVehicle.h>

Collaboration diagram for MSVehicle::DriveProcessItem:
[legend]

Public Member Functions

void adaptLeaveSpeed (const double v)
 
void adaptStopSpeed (const double v)
 
 DriveProcessItem (double vWait, double distance, double _availableSpace=0)
 constructor if the link shall not be passed
 
 DriveProcessItem (MSLink *link, double vPass, double vWait, bool setRequest, SUMOTime arrivalTime, double arrivalSpeed, double arrivalSpeedBraking, double distance, double leaveSpeed)
 
double getLeaveSpeed () const
 

Data Fields

double accelV
 
double availableSpace
 
bool hadStoppedVehicle
 
double myArrivalSpeed
 
double myArrivalSpeedBraking
 
SUMOTime myArrivalTime
 
double myDistance
 
MSLinkmyLink
 
bool mySetRequest
 
double myVLinkPass
 
double myVLinkWait
 

Detailed Description

Drive process items represent bounds on the safe velocity corresponding to the upcoming links.

Todo:
: improve documentation

Definition at line 1949 of file MSVehicle.h.

Constructor & Destructor Documentation

◆ DriveProcessItem() [1/2]

MSVehicle::DriveProcessItem::DriveProcessItem ( MSLink link,
double  vPass,
double  vWait,
bool  setRequest,
SUMOTime  arrivalTime,
double  arrivalSpeed,
double  arrivalSpeedBraking,
double  distance,
double  leaveSpeed 
)
inline

Definition at line 1962 of file MSVehicle.h.

References MSGlobals::gSemiImplicitEulerUpdate.

◆ DriveProcessItem() [2/2]

MSVehicle::DriveProcessItem::DriveProcessItem ( double  vWait,
double  distance,
double  _availableSpace = 0 
)
inline

constructor if the link shall not be passed

Definition at line 1978 of file MSVehicle.h.

References MSGlobals::gSemiImplicitEulerUpdate.

Member Function Documentation

◆ adaptLeaveSpeed()

void MSVehicle::DriveProcessItem::adaptLeaveSpeed ( const double  v)
inline

Definition at line 1988 of file MSVehicle.h.

References accelV, and MIN2().

Referenced by MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToOncomingLeader(), and MSVehicle::planMoveInternal().

Here is the caller graph for this function:

◆ adaptStopSpeed()

void MSVehicle::DriveProcessItem::adaptStopSpeed ( const double  v)
inline

Definition at line 1996 of file MSVehicle.h.

References MIN2(), and myVLinkWait.

Referenced by MSVehicle::adaptToJunctionLeader().

Here is the caller graph for this function:

◆ getLeaveSpeed()

double MSVehicle::DriveProcessItem::getLeaveSpeed ( ) const
inline

Definition at line 2000 of file MSVehicle.h.

References accelV, and myVLinkPass.

Referenced by MSVehicle::checkRewindLinkLanes(), and GUIVehicle::selectBlockingFoes().

Here is the caller graph for this function:

Field Documentation

◆ accelV

double MSVehicle::DriveProcessItem::accelV

◆ availableSpace

double MSVehicle::DriveProcessItem::availableSpace

Definition at line 1960 of file MSVehicle.h.

Referenced by MSVehicle::checkRewindLinkLanes().

◆ hadStoppedVehicle

bool MSVehicle::DriveProcessItem::hadStoppedVehicle

Definition at line 1959 of file MSVehicle.h.

Referenced by MSVehicle::checkRewindLinkLanes().

◆ myArrivalSpeed

double MSVehicle::DriveProcessItem::myArrivalSpeed

◆ myArrivalSpeedBraking

double MSVehicle::DriveProcessItem::myArrivalSpeedBraking

Definition at line 1956 of file MSVehicle.h.

◆ myArrivalTime

SUMOTime MSVehicle::DriveProcessItem::myArrivalTime

◆ myDistance

double MSVehicle::DriveProcessItem::myDistance

◆ myLink

◆ mySetRequest

bool MSVehicle::DriveProcessItem::mySetRequest

Definition at line 1953 of file MSVehicle.h.

Referenced by MSVehicle::checkLinkLeader(), and MSVehicle::checkRewindLinkLanes().

◆ myVLinkPass

double MSVehicle::DriveProcessItem::myVLinkPass

◆ myVLinkWait

double MSVehicle::DriveProcessItem::myVLinkWait

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