osi3::TrafficSignValue Struct Reference

Additional value associated with a traffic sign or road marking, its unit and its text. 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_HOUR = 15, UNIT_MINUTES = 12, UNIT_DAY_OF_MONTH = 16, UNIT_DAY = 13,
  UNIT_PERCENTAGE = 14, UNIT_DURATION_DAY = 17, UNIT_DURATION_HOUR = 18, UNIT_DURATION_MINUTE = 19
}
 Unit for values on traffic sign. More...
 

Public Attributes

optional double value = 1
 Additional value associated with a traffic sign or road marking, e.g. More...
 
optional Unit value_unit = 2
 Unit for additional value. More...
 
optional string text = 3
 Text associated with a sign, e.g. More...
 

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_HOUR 

Time of day.

Hours since midnight. Starting with 0.

Unit: h

UNIT_MINUTES 

Time of day.

Minutes since last hour. Starting with 0.

Unit: min

UNIT_DAY_OF_MONTH 

Day of the month.

Starting with 1.

UNIT_DAY 

Day of the week.

Days since Monday. Monday = 0; Tuesday = 1; ...

Note
For consistency this field will be renamed to UNIT_DAY_OF_WEEK in v4.0.0 .
UNIT_PERCENTAGE 

Percentage.

Value.

Unit: %

UNIT_DURATION_DAY 

Duration in days.

Unit: day

UNIT_DURATION_HOUR 

Duration in hours.

Unit: h

UNIT_DURATION_MINUTE 

Duration in minutes.

Unit: min

Member Data Documentation

◆ 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.

◆ 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.


  • osi_trafficsign.proto