maliput_malidrive
|
Holds the values of a XODR LaneSection.
For example, a XML node describing a XODR's lane section:
#include <src/maliput_malidrive/xodr/lane_section.h>
Public Member Functions | |
bool | operator== (const LaneSection &other) const |
Equality operator. More... | |
bool | operator!= (const LaneSection &other) const |
Inequality operator. More... | |
Public Attributes | |
double | s_0 {} |
Start position (s-coordinate). More... | |
std::optional< bool > | single_side {std::nullopt} |
Lane section entry is valid for one side only. More... | |
std::vector< Lane > | left_lanes {} |
Lanes in the left side of the road. More... | |
Lane | center_lane {} |
Center lane of the road. More... | |
std::vector< Lane > | right_lanes {} |
Lanes in the right side of the road. More... | |
Static Public Attributes | |
static constexpr const char * | kLaneSectionTag = "laneSection" |
Convenient constants that hold the tag names in the XODR lane section node. More... | |
static constexpr const char * | kS0 = "s" |
static constexpr const char * | kSingleSide = "singleSide" |
static constexpr const char * | kLeft = "left" |
static constexpr const char * | kCenter = "center" |
static constexpr const char * | kRight = "right" |
bool operator!= | ( | const LaneSection & | other | ) | const |
Inequality operator.
bool operator== | ( | const LaneSection & | other | ) | const |
Equality operator.
Lane center_lane {} |
Center lane of the road.
|
staticconstexpr |
|
staticconstexpr |
Convenient constants that hold the tag names in the XODR lane section node.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
double s_0 {} |
Start position (s-coordinate).
std::optional<bool> single_side {std::nullopt} |
Lane section entry is valid for one side only.