Struct TrafficSignValue

Struct Documentation

struct TrafficSignValue

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.

Public Types

enum Unit

Unit for values on traffic sign.

Values:

UNIT_UNKNOWN = 0

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

UNIT_OTHER = 1

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

UNIT_NO_UNIT = 2

Value without unit.

Unit: []

UNIT_KILOMETER_PER_HOUR = 3

Velocity. Kilometers per hour.

Unit: [km/h]

UNIT_MILE_PER_HOUR = 4

Velocity. Miles per hour.

Unit: [mph]

UNIT_METER = 5

Length. Meter.

Unit: [m]

UNIT_KILOMETER = 6

Length. Kilometer.

Unit: [km]

UNIT_FEET = 7

Length. Feet.

Unit: [ft]

UNIT_MILE = 8

Length. Mile.

Unit: [mile]

UNIT_METRIC_TON = 9

Weight. Ton.

Unit: [t]

UNIT_LONG_TON = 10

Weight. Long ton UK 1,016.047 [kg].

Unit: [tn. l.]

UNIT_SHORT_TON = 11

Weight. Short ton USA 907.1847 [kg].

Unit: [tn. sh.]

UNIT_MINUTES = 12

Time of day. Hour since midnight.

Unit: [min]

UNIT_DAY = 13

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

Unit: []

UNIT_PERCENTAGE = 14

Percentage. Value.

Unit: [%]

Public Members

optional double osi3::TrafficSignValue::value = 1

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

optional Unit osi3::TrafficSignValue::value_unit = 2

Unit for additional value.

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.