maliput_malidrive
Lanes Struct Reference

Detailed Description

Holds the values of a XODR Lanes node.

For example, a XML node describing a XODR's lanes node:

<OpenDRIVE>
...
<lanes>
<laneOffset s="0.0000000000000000e+0" a="-4.000000000e+0" b="0.000000000e+0" c="0.0000000e+0"
d="0.0000000e+0"/> <laneOffset s="3.8268524704053952e-2" a="-4.000000000e+0" b="0.000000000e+0"
c="0.0000000e+0" d="0.0000000e+0"/> <laneSection s="0.0000000000000000e+0">
...
</laneSection>
<laneSection s="3.8268524704053952e-2">
...
</laneSection>
...
</lanes>
...
</OpenDRIVE>

#include <src/maliput_malidrive/xodr/lanes.h>

Public Member Functions

bool operator== (const Lanes &other) const
 Equality operator. More...
 
bool operator!= (const Lanes &other) const
 Inequality operator. More...
 

Public Attributes

std::vector< LaneOffsetlanes_offset {}
 Holds all the LaneOffsets in the road. More...
 
std::vector< LaneSectionlanes_section {}
 Holds the LaneSections that there are in the road. More...
 

Static Public Attributes

static constexpr const char * kLanesTag = "lanes"
 Hold the tag for the lanes in the XODR lanes description. More...
 

Member Function Documentation

◆ operator!=()

bool operator!= ( const Lanes other) const

Inequality operator.

◆ operator==()

bool operator== ( const Lanes other) const

Equality operator.

Member Data Documentation

◆ kLanesTag

constexpr const char* kLanesTag = "lanes"
staticconstexpr

Hold the tag for the lanes in the XODR lanes description.

◆ lanes_offset

std::vector<LaneOffset> lanes_offset {}

Holds all the LaneOffsets in the road.

◆ lanes_section

std::vector<LaneSection> lanes_section {}

Holds the LaneSections that there are in the road.


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