Go to the documentation of this file.
14 #include <opendrive/types.hpp>
58 double const overlapMargin,
74 double const overlapMargin,
96 bool createAdMap(::opendrive::OpenDriveData &openDriveData,
97 double const overlapMargin,
109 bool convertToAdMap(::opendrive::OpenDriveData &mapData,
123 bool setLaneSpeed(::opendrive::Lane
const &lane);
130 bool addLandmark(::opendrive::Landmark
const &landmark);
137 bool addLane(::opendrive::Lane
const &lane);
146 bool addSpecialContact(::opendrive::Lane
const &lane,
147 ::opendrive::Landmark
const &landmark,
163 bool addSpecialContacts(::opendrive::Lane
const &lane, ::opendrive::LandmarkMap
const &landmarks);
173 bool addContactLanes(::opendrive::Lane
const &lane,
namespace ad
Definition: GeometryStoreItem.hpp:28
Autonomus Driving Map Store.
Definition: Store.hpp:40
DataType Restrictions.
Definition: Restrictions.hpp:42
ContactLocation
DataType ContactLocation.
Definition: ContactLocation.hpp:43
bool createAdMapFromString(std::string const &mapContent, double const overlapMargin, intersection::IntersectionType const defaultIntersectionType, landmark::TrafficLightType const defaultTrafficLightType=landmark::TrafficLightType::SOLID_RED_YELLOW_GREEN)
Parses OpenDRIVE map content string, generates a lane map and populates the AdMap store with it via a...
bool createAdMap(std::string const &mapFilePath, double const overlapMargin, intersection::IntersectionType const defaultIntersectionType, landmark::TrafficLightType const defaultTrafficLightType=landmark::TrafficLightType::SOLID_RED_YELLOW_GREEN)
Reads the OpenDRIVE map xml, generates a lane map and populates the AdMap store with it via admap Fac...
TrafficLightType
DataType TrafficLightType.
Definition: TrafficLightType.hpp:43
static bool isOpenDriveMap(std::string const &mapName)
Returns true if the given file matches an OpenDRIVE map file.
IntersectionType
DataType IntersectionType.
Definition: IntersectionType.hpp:43
Creates an AdMap from an OpenDRIVE map file.
Definition: AdMapFactory.hpp:37
Autonomus Driving Map Factory. Contains method to be used to initialize and modify content in the Sto...
Definition: Factory.hpp:36
LaneType
DataType LaneType.
Definition: LaneType.hpp:43