maliput_sparse
BuilderConfiguration Struct Reference

Detailed Description

Holds the configuration parameters for the builder.

#include <include/maliput_sparse/loader/builder_configuration.h>

Public Member Functions

std::map< std::string, std::string > ToStringMap () const
 

Static Public Member Functions

static BuilderConfiguration FromMap (const std::map< std::string, std::string > &config)
 Create a BuilderConfiguration from a string dictionary. More...
 

Public Attributes

maliput::api::RoadGeometryId road_geometry_id {"maliput_sparse"}
 Id of the road geometry. More...
 
double linear_tolerance {1.e-3}
 Linear resolution of the road geometry. More...
 
double angular_tolerance {1.e-3}
 Angular resolution of the road geometry. More...
 
double scale_length {1.}
 Scale factor for road geometry. More...
 
maliput::math::Vector3 inertial_to_backend_frame_translation {}
 Translation from maliput to maliput_sparse inertial frame. More...
 
std::optional< std::string > rule_registry {std::nullopt}
 Path to the configuration file to load a RuleRegistry. More...
 
std::optional< std::string > road_rule_book {std::nullopt}
 Path to the configuration file to load a RoadRulebook. More...
 
std::optional< std::string > traffic_light_book {std::nullopt}
 Path to the configuration file to load a TrafficLightBook. More...
 
std::optional< std::string > phase_ring_book {std::nullopt}
 Path to the configuration file to load a PhaseRingBook. More...
 
std::optional< std::string > intersection_book {std::nullopt}
 Path to the configuration file to load an IntersectionBook. More...
 

Member Function Documentation

◆ FromMap()

BuilderConfiguration FromMap ( const std::map< std::string, std::string > &  config)
static

Create a BuilderConfiguration from a string dictionary.

◆ ToStringMap()

std::map< std::string, std::string > ToStringMap ( ) const

The keys of the map are listed at RoadNetwork configuration builder keys.

Returns
A string-string map containing the builder configuration.

Member Data Documentation

◆ angular_tolerance

double angular_tolerance {1.e-3}

Angular resolution of the road geometry.

◆ inertial_to_backend_frame_translation

maliput::math::Vector3 inertial_to_backend_frame_translation {}

Translation from maliput to maliput_sparse inertial frame.

◆ intersection_book

std::optional<std::string> intersection_book {std::nullopt}

Path to the configuration file to load an IntersectionBook.

◆ linear_tolerance

double linear_tolerance {1.e-3}

Linear resolution of the road geometry.

◆ phase_ring_book

std::optional<std::string> phase_ring_book {std::nullopt}

Path to the configuration file to load a PhaseRingBook.

◆ road_geometry_id

maliput::api::RoadGeometryId road_geometry_id {"maliput_sparse"}

Id of the road geometry.

◆ road_rule_book

std::optional<std::string> road_rule_book {std::nullopt}

Path to the configuration file to load a RoadRulebook.

◆ rule_registry

std::optional<std::string> rule_registry {std::nullopt}

Path to the configuration file to load a RuleRegistry.

◆ scale_length

double scale_length {1.}

Scale factor for road geometry.

◆ traffic_light_book

std::optional<std::string> traffic_light_book {std::nullopt}

Path to the configuration file to load a TrafficLightBook.


The documentation for this struct was generated from the following files: