ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::view::LimitLine Struct Reference

#include <limitline.h>

Collaboration diagram for adore::view::LimitLine:
Collaboration graph

Public Types

enum  EState {
  unavailable = 0 , dark = 1 , stop_Then_Proceed = 2 , stop_And_Remain = 3 ,
  pre_Movement = 4 , permissive_Movement_Allowed = 5 , protected_Movement_Allowed = 6 , permissive_clearance = 7 ,
  protected_clearance = 8 , caution_Conflicting_Traffic = 9
}
 

Public Member Functions

 LimitLine ()
 
void setCurrentState (EState value)
 
void setNextState (EState value)
 
void setTimeToNextState (double value)
 
void setProgress (double value)
 
EState getCurrentState () const
 
EState getNextState () const
 
double getTimeToNextState () const
 
double getProgress () const
 

Private Attributes

EState current_state_
 
EState next_state_
 
double t_next_
 
double s_
 

Detailed Description

LimitLine contains state information about regulation of a conflict zone.

Member Enumeration Documentation

◆ EState

Defines access to critical area guarded by a LimitLine.

Enumerator
unavailable 

values according to itsg5::dsrc_v2::MovementPhaseState default: state is unknown -> wait and/or transition of control

dark 

stop, transition of control, proceed manually

stop_Then_Proceed 

stop first, then yield, e.g. stop sign

stop_And_Remain 

stop and wait

pre_Movement 

red/yellow

permissive_Movement_Allowed 

green, go and yield

protected_Movement_Allowed 

green, go, no conflict

permissive_clearance 

yellow, clear connection and yield

protected_clearance 

yellow, clear connection no conflict

caution_Conflicting_Traffic 

green, conflicting traffic

Constructor & Destructor Documentation

◆ LimitLine()

adore::view::LimitLine::LimitLine ( )
inline

Member Function Documentation

◆ getCurrentState()

EState adore::view::LimitLine::getCurrentState ( ) const
inline

◆ getNextState()

EState adore::view::LimitLine::getNextState ( ) const
inline

◆ getProgress()

double adore::view::LimitLine::getProgress ( ) const
inline

◆ getTimeToNextState()

double adore::view::LimitLine::getTimeToNextState ( ) const
inline

◆ setCurrentState()

void adore::view::LimitLine::setCurrentState ( EState  value)
inline
Here is the caller graph for this function:

◆ setNextState()

void adore::view::LimitLine::setNextState ( EState  value)
inline

◆ setProgress()

void adore::view::LimitLine::setProgress ( double  value)
inline
Here is the caller graph for this function:

◆ setTimeToNextState()

void adore::view::LimitLine::setTimeToNextState ( double  value)
inline

Member Data Documentation

◆ current_state_

EState adore::view::LimitLine::current_state_
private

the current accessibility of the critical area

◆ next_state_

EState adore::view::LimitLine::next_state_
private

the next accessibility of the critical area, with state change occuring at t_next_

◆ s_

double adore::view::LimitLine::s_
private

progress of LimitLine along the containing lane

◆ t_next_

double adore::view::LimitLine::t_next_
private

switching time when current_state_ becomes next_state_. set to big number if unknown


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