ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::env::BorderBased::BASFollowStraight Class Reference

This class chooses the straightest successor of a border until an upper limit on distance is reached. More...

#include <borderaccumulator.h>

Inheritance diagram for adore::env::BorderBased::BASFollowStraight:
Inheritance graph
Collaboration diagram for adore::env::BorderBased::BASFollowStraight:
Collaboration graph

Public Member Functions

 BASFollowStraight (Border *border, BorderSet *borderSet, double max_distance)
 Construct a new BASFollowStraight object. More...
 
virtual void getNextBorder (Border *&border, bool &inverted) override
 Get the next border. More...
 
- Public Member Functions inherited from adore::env::BorderBased::BorderAccumulationStrategy
 BorderAccumulationStrategy ()
 
bool borderValid (Border *b)
 Check whether a border is valid. More...
 

Private Attributes

Borderm_current
 
double m_distance
 

Additional Inherited Members

- Protected Attributes inherited from adore::env::BorderBased::BorderAccumulationStrategy
BorderSetm_borderSet
 

Detailed Description

This class chooses the straightest successor of a border until an upper limit on distance is reached.

Constructor & Destructor Documentation

◆ BASFollowStraight()

adore::env::BorderBased::BASFollowStraight::BASFollowStraight ( Border border,
BorderSet borderSet,
double  max_distance 
)
inline

Construct a new BASFollowStraight object.

Parameters
borderstarting border
borderSetset of borders to consider
max_distanceupper bound for distance

Member Function Documentation

◆ getNextBorder()

virtual void adore::env::BorderBased::BASFollowStraight::getNextBorder ( Border *&  border,
bool &  inverted 
)
inlineoverridevirtual

Get the next border.

Parameters
bordernext border
inverteddescribes whether order is inverted (check again NiM)

Implements adore::env::BorderBased::BorderAccumulationStrategy.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_current

Border* adore::env::BorderBased::BASFollowStraight::m_current
private

current Border

◆ m_distance

double adore::env::BorderBased::BASFollowStraight::m_distance
private

upper bound distance


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