maliput_dragway
RoadGeometryConfiguration Struct Reference

Detailed Description

Contains the attributes needed for building a dragway::RoadGeometry.

#include <include/maliput_dragway/road_network_builder.h>

Public Member Functions

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

Static Public Member Functions

static maliput::dragway::RoadGeometryConfiguration FromMap (const std::map< std::string, std::string > &parameters)
 Create a RoadGeometryConfiguration from a string dictionary. More...
 

Public Attributes

int num_lanes {2}
 Number of lanes. More...
 
double length {10}
 Length of the lanes. More...
 
double lane_width {3.7}
 Width of the lanes. More...
 
double shoulder_width {3.}
 Width of the shoulders of the road. More...
 
double maximum_height {5.2}
 Maximum height above the road surface. More...
 
math::Vector3 inertial_to_backend_frame_translation {0., 0., 0.}
 Inertial to Backend Frame translation. More...
 

Member Function Documentation

◆ FromMap()

RoadGeometryConfiguration FromMap ( const std::map< std::string, std::string > &  parameters)
static

Create a RoadGeometryConfiguration from a string dictionary.

◆ ToStringMap()

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

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

Returns
A string-string map containing the road geometry configuration.

Member Data Documentation

◆ inertial_to_backend_frame_translation

math::Vector3 inertial_to_backend_frame_translation {0., 0., 0.}

Inertial to Backend Frame translation.

◆ lane_width

double lane_width {3.7}

Width of the lanes.

◆ length

double length {10}

Length of the lanes.

◆ maximum_height

double maximum_height {5.2}

Maximum height above the road surface.

◆ num_lanes

int num_lanes {2}

Number of lanes.

◆ shoulder_width

double shoulder_width {3.}

Width of the shoulders of the road.


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