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

#include <MAPEMIntersection.h>

Collaboration diagram for adore::sumo_if_ros::MAPEMIntersection:
Collaboration graph

Public Member Functions

bool operator== (const MAPEMIntersection &other) const
 
virtual bool isEqualShallow (const MAPEMIntersection &other) const
 

Public Attributes

unsigned int intersection_id_
 
int lanes_count_
 
float lane_width_
 
double ref_latitude_
 
double ref_longitude_
 
std::vector< MAPEMLanelanes_
 

Detailed Description

Intersection represented by a simplified MAPEM message

Member Function Documentation

◆ isEqualShallow()

virtual bool adore::sumo_if_ros::MAPEMIntersection::isEqualShallow ( const MAPEMIntersection other) const
inlinevirtual

Make a quick but incomplete comparison Calls shallow comparison for the lanes.

◆ operator==()

bool adore::sumo_if_ros::MAPEMIntersection::operator== ( const MAPEMIntersection other) const
inline

Compare equal

We do not compare the float elements, because that requires to consider accuracy.

Member Data Documentation

◆ intersection_id_

unsigned int adore::sumo_if_ros::MAPEMIntersection::intersection_id_

◆ lane_width_

float adore::sumo_if_ros::MAPEMIntersection::lane_width_

◆ lanes_

std::vector<MAPEMLane> adore::sumo_if_ros::MAPEMIntersection::lanes_

lanes of the intersection and their relation to each other

◆ lanes_count_

int adore::sumo_if_ros::MAPEMIntersection::lanes_count_

◆ ref_latitude_

double adore::sumo_if_ros::MAPEMIntersection::ref_latitude_

latitude of the reference coordinate of the intersection often centroid of the traffic light positions on an intersection

◆ ref_longitude_

double adore::sumo_if_ros::MAPEMIntersection::ref_longitude_

longitude of the reference coordinate of the intersection often centroid of the traffic light positions on an intersection


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