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

automatically manage parking spot based on current vehicle position and last state of object More...

#include <map_parkingspot_management.h>

Collaboration diagram for adore::env::MapParkingSpotManagement:
Collaboration graph

Public Member Functions

void init (adore::env::BorderBased::ParkingSpotSet &globalSet)
 initialization routine with global parking spot set More...
 
void reset ()
 clear the local set More...
 
void run (double x, double y, double r, std::vector< adore::env::BorderBased::ParkingSpot > &newSpots, std::vector< adore::env::BorderBased::ParkingSpot > &outdatedSpots, int MAX_SEND_NUMBER=5)
 get new and outdated parking spots based on vehicle position More...
 

Private Attributes

adore::env::BorderBased::ParkingSpotSet m_globalSet
 
adore::env::BorderBased::ParkingSpotSet m_localSet
 

Detailed Description

automatically manage parking spot based on current vehicle position and last state of object

Member Function Documentation

◆ init()

void adore::env::MapParkingSpotManagement::init ( adore::env::BorderBased::ParkingSpotSet globalSet)
inline

initialization routine with global parking spot set

Parameters
globalSet

◆ reset()

void adore::env::MapParkingSpotManagement::reset ( )
inline

clear the local set

Here is the call graph for this function:

◆ run()

void adore::env::MapParkingSpotManagement::run ( double  x,
double  y,
double  r,
std::vector< adore::env::BorderBased::ParkingSpot > &  newSpots,
std::vector< adore::env::BorderBased::ParkingSpot > &  outdatedSpots,
int  MAX_SEND_NUMBER = 5 
)
inline

get new and outdated parking spots based on vehicle position

Parameters
x
y
r
newSpots
outdatedSpots
MAX_SEND_NUMBER
Here is the call graph for this function:

Member Data Documentation

◆ m_globalSet

adore::env::BorderBased::ParkingSpotSet adore::env::MapParkingSpotManagement::m_globalSet
private

◆ m_localSet

adore::env::BorderBased::ParkingSpotSet adore::env::MapParkingSpotManagement::m_localSet
private

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