Drake
RoadCharacteristics Struct Reference

Holds common api::RoadGeometry characteristics needed to construct one. More...

#include <automotive/maliput/rndf/loader.h>

Collaboration diagram for RoadCharacteristics:
[legend]

Public Member Functions

 RoadCharacteristics ()=default
 
 RoadCharacteristics (double default_width_in, double linear_tolerance_in, double angular_tolerance_in)
 Constructor for custom geometry characteristics. More...
 

Public Attributes

double default_width {4.}
 Default width for RNDF Lanes, in meters. More...
 
double linear_tolerance {0.01}
 Linear tolerance for RNDF RoadGeometry, in radians. More...
 
double angular_tolerance {0.01 * M_PI}
 Angular tolerance for RNDF RoadGeometry, in radians. More...
 

Detailed Description

Holds common api::RoadGeometry characteristics needed to construct one.

Constructor & Destructor Documentation

RoadCharacteristics ( )
default
RoadCharacteristics ( double  default_width_in,
double  linear_tolerance_in,
double  angular_tolerance_in 
)
inlineexplicit

Constructor for custom geometry characteristics.

Parameters
default_width_inThe default lane width in meters, used when either no lane width or zero lane width was specified in the RNDF (as lane widths are an optional non negative quantity in the RNDF format).
linear_tolerance_inThe linear tolerance for lane geometries, in radians.
angular_tolerance_inThe angular tolerance for lane geometries, in radians.

Member Data Documentation

double angular_tolerance {0.01 * M_PI}

Angular tolerance for RNDF RoadGeometry, in radians.

double default_width {4.}

Default width for RNDF Lanes, in meters.

double linear_tolerance {0.01}

Linear tolerance for RNDF RoadGeometry, in radians.


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