Carma-platform v4.2.0
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
carma_wm::LaneletDowntrackPair Class Reference
Collaboration diagram for carma_wm::LaneletDowntrackPair:
Collaboration graph

Public Member Functions

 LaneletDowntrackPair (lanelet::ConstLanelet lanelet, double downtrack)
 
bool operator< (const LaneletDowntrackPair &pair) const
 
bool operator> (const LaneletDowntrackPair &pair) const
 

Public Attributes

lanelet::ConstLanelet lanelet_
 
double downtrack_ = 0
 

Detailed Description

Definition at line 286 of file CARMAWorldModel.cpp.

Constructor & Destructor Documentation

◆ LaneletDowntrackPair()

carma_wm::LaneletDowntrackPair::LaneletDowntrackPair ( lanelet::ConstLanelet  lanelet,
double  downtrack 
)
inline

Definition at line 292 of file CARMAWorldModel.cpp.

292 : lanelet_(lanelet), downtrack_(downtrack)
293 {
294 }
lanelet::ConstLanelet lanelet_

Member Function Documentation

◆ operator<()

bool carma_wm::LaneletDowntrackPair::operator< ( const LaneletDowntrackPair pair) const
inline

Definition at line 295 of file CARMAWorldModel.cpp.

296 {
297 return this->downtrack_ < pair.downtrack_;
298 }

References downtrack_.

◆ operator>()

bool carma_wm::LaneletDowntrackPair::operator> ( const LaneletDowntrackPair pair) const
inline

Definition at line 299 of file CARMAWorldModel.cpp.

300 {
301 return this->downtrack_ > pair.downtrack_;
302 }

References downtrack_.

Member Data Documentation

◆ downtrack_

double carma_wm::LaneletDowntrackPair::downtrack_ = 0

Definition at line 290 of file CARMAWorldModel.cpp.

Referenced by operator<(), and operator>().

◆ lanelet_

lanelet::ConstLanelet carma_wm::LaneletDowntrackPair::lanelet_

Definition at line 289 of file CARMAWorldModel.cpp.


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