maliput_malidrive
Lane::Speed Struct Reference

Detailed Description

Speed description.

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

Public Member Functions

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

Public Attributes

double s_offset {}
 Start position (s-coordinate) relative to the position of the preceding laneSection record. More...
 
double max {}
 Maximum allowed speed. More...
 
Unit unit {Unit::kMs}
 Unit of the max attribute. More...
 

Static Public Attributes

static constexpr const char * kSpeedTag = "speed"
 Holds the tag name in the XODR Lane Speed description. More...
 
static constexpr const char * kSOffset = "sOffset"
 
static constexpr const char * kMax = "max"
 
static constexpr const char * kUnit = "unit"
 

Member Function Documentation

◆ operator!=()

bool operator!= ( const Speed other) const

Inequality operator.

◆ operator==()

bool operator== ( const Speed other) const

Equality operator.

Member Data Documentation

◆ kMax

constexpr const char* kMax = "max"
staticconstexpr

◆ kSOffset

constexpr const char* kSOffset = "sOffset"
staticconstexpr

◆ kSpeedTag

constexpr const char* kSpeedTag = "speed"
staticconstexpr

Holds the tag name in the XODR Lane Speed description.

◆ kUnit

constexpr const char* kUnit = "unit"
staticconstexpr

◆ max

double max {}

Maximum allowed speed.

◆ s_offset

double s_offset {}

Start position (s-coordinate) relative to the position of the preceding laneSection record.

◆ unit

Unit unit {Unit::kMs}

Unit of the max attribute.


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