maliput_multilane
MultilaneRoadCharacteristics Struct Reference

Detailed Description

MultilaneRoadCharacteristics computes and stores characteristics of a multilane road network; i.e.

bounds on the lane width and shoulders width. Default settings are taken if no others are specified.

#include <include/maliput_multilane/multilane_onramp_merge.h>

Public Member Functions

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

Static Public Member Functions

static MultilaneRoadCharacteristics FromMap (const std::map< std::string, std::string > &road_characteristics)
 Creates a MultilaneRoadCharacteristics out of a string dictionary. More...
 

Public Attributes

double lane_width {4.}
 
double left_shoulder {2.}
 
double right_shoulder {2.}
 
int lane_number {1}
 
maliput::api::HBounds elevation_bounds {0., 5.2}
 

Member Function Documentation

◆ FromMap()

MultilaneRoadCharacteristics FromMap ( const std::map< std::string, std::string > &  road_characteristics)
static

Creates a MultilaneRoadCharacteristics out of a string dictionary.

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

Parameters
road_characteristicsA string-string map containing the configuration for the builder.

◆ ToStringMap()

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

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

Returns
A string-string map containing the MultilaneRoadCharacteristics configuration.

Member Data Documentation

◆ elevation_bounds

maliput::api::HBounds elevation_bounds {0., 5.2}

◆ lane_number

int lane_number {1}

◆ lane_width

double lane_width {4.}

◆ left_shoulder

double left_shoulder {2.}

◆ right_shoulder

double right_shoulder {2.}

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