open_simulation_interface  v3.4.0 (2021-11-18)
osi3::TrafficSignValue Struct Reference

Additional value associated with a traffic sign or road marking, its unit and its text. The interpretation of this text is left to a user-defined procedure. More...

Collaboration diagram for osi3::TrafficSignValue:

Public Types

enum  Unit {
  UNIT_UNKNOWN = 0 , UNIT_OTHER = 1 , UNIT_NO_UNIT = 2 , UNIT_KILOMETER_PER_HOUR = 3 ,
  UNIT_MILE_PER_HOUR = 4 , UNIT_METER = 5 , UNIT_KILOMETER = 6 , UNIT_FEET = 7 ,
  UNIT_MILE = 8 , UNIT_METRIC_TON = 9 , UNIT_LONG_TON = 10 , UNIT_SHORT_TON = 11 ,
  UNIT_MINUTES = 12 , UNIT_DAY = 13 , UNIT_PERCENTAGE = 14
}
 

Public Attributes

optional double value = 1
 
optional Unit value_unit = 2
 
optional string text = 3
 

Detailed Description

Additional value associated with a traffic sign or road marking, its unit and its text. The interpretation of this text is left to a user-defined procedure.

Member Enumeration Documentation

◆ Unit

Unit for values on traffic sign.

Enumerator
UNIT_UNKNOWN 

Unit of the sign's value is unknown (must not be used in ground truth).

UNIT_OTHER 

Other (unspecified but known) unit of the sign's value.

UNIT_NO_UNIT 

Value without unit.

UNIT_KILOMETER_PER_HOUR 

Velocity. Kilometers per hour.

Unit: km/h

UNIT_MILE_PER_HOUR 

Velocity. Miles per hour.

Unit: mph

UNIT_METER 

Length. Meter.

Unit: m

UNIT_KILOMETER 

Length. Kilometer.

Unit: km

UNIT_FEET 

Length. Feet.

Unit: ft

UNIT_MILE 

Length. Mile.

Unit: mile

UNIT_METRIC_TON 

Weight. Ton.

Unit: t

UNIT_LONG_TON 

Weight. Long ton UK 1,016.047 kg.

Unit: tn. l.

UNIT_SHORT_TON 

Weight. Short ton USA 907.1847 kg.

Unit: tn. sh.

UNIT_MINUTES 

Time of day. Hour since midnight.

Unit: min

UNIT_DAY 

Day of the week. Days since Monday. Monday = 0; Tuesday = 1; ...

UNIT_PERCENTAGE 

Percentage. Value.

Unit: %

Member Data Documentation

◆ text

optional string osi3::TrafficSignValue::text = 3

Text associated with a sign, e.g. the name of a location whose distance to the sign is indicated therein. The interpretation of this text is left to a user-defined procedure.

◆ value

optional double osi3::TrafficSignValue::value = 1

Additional value associated with a traffic sign or road marking, e.g. value of a speed limit.

◆ value_unit

optional Unit osi3::TrafficSignValue::value_unit = 2

Unit for additional value.


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