osi3::LaneBoundary::Classification Struct Reference

Classification of a lane boundary. More...

Collaboration diagram for osi3::LaneBoundary::Classification:

Public Types

enum  Type {
  TYPE_UNKNOWN = 0, TYPE_OTHER = 1, TYPE_NO_LINE = 2, TYPE_SOLID_LINE = 3,
  TYPE_DASHED_LINE = 4, TYPE_BOTTS_DOTS = 5, TYPE_ROAD_EDGE = 6, TYPE_SNOW_EDGE = 7,
  TYPE_GRASS_EDGE = 8, TYPE_GRAVEL_EDGE = 9, TYPE_SOIL_EDGE = 10, TYPE_GUARD_RAIL = 11,
  TYPE_CURB = 12, TYPE_STRUCTURE = 13, TYPE_BARRIER = 14, TYPE_SOUND_BARRIER = 15
}
 The lane boundary type. More...
 
enum  Color {
  COLOR_UNKNOWN = 0, COLOR_OTHER = 1, COLOR_NONE = 2, COLOR_WHITE = 3,
  COLOR_YELLOW = 4, COLOR_RED = 5, COLOR_BLUE = 6, COLOR_GREEN = 7,
  COLOR_VIOLET = 8, COLOR_ORANGE = 9
}
 The semantic color of the lane boundary in case of a lane markings. More...
 

Public Attributes

optional Type type = 1
 The type of the lane boundary. More...
 
optional Color color = 2
 The semantic color of the lane boundary in case of lane markings. More...
 
repeated Identifier limiting_structure_id = 3
 The ids of StationaryObject which limit the corresponding lane. More...
 

Detailed Description

Classification of a lane boundary.

Image Intersection
Classification for lane boundaries lb2 and lb9:
type = TYPE_DASHED_LINE
color = COLOR_WHITE
Classification for lane boundaries lb1, lb3, lb4, lb7, lb8, lb10, lb11, lb12 and lb14:
type = TYPE_SOLID_LINE
color = COLOR_WHITE
Classification for lane boundaries lb5, lb6 and lb13:
type = TYPE_CURB
OSI_LaneIntersection.svg
OSI_LaneBoundaryClassification.jpg
Note
In the example, the symbols l1, l2, ... and lb1, lb2, ... stand for the lane ids and lane boundary ids respectively, i.e. for integers (uint64). The symbols cl1, cl2, ... represent the osi3::Lane::Classification::centerline elements of the lanes with the respective ids.

Member Enumeration Documentation

◆ Type

The lane boundary type.

There is no special representation for double lines, e.g. solid / solid or dashed / solid. In such cases, each lane will define its own side of the lane boundary.

Enumerator
TYPE_UNKNOWN 

The type of lane boundary is unknown.

Value must not be used in ground truth.

TYPE_OTHER 

Unspecified but known type of lane boundary.

Consider proposing an additional type if using TYPE_OTHER.

TYPE_NO_LINE 

An invisible lane boundary.

TYPE_SOLID_LINE 

A solid line at the lane boundary.

TYPE_DASHED_LINE 

A dashed line at the lane boundary.

TYPE_BOTTS_DOTS 

A lane boundary consisting of Botts' dots (multiple Botts dots).

TYPE_ROAD_EDGE 

A lane boundary formed by the road's edge.

The road edge is the end of the (paved) road surface.

TYPE_SNOW_EDGE 

A lane boundary formed by a snow edge that may be on the road surface.

TYPE_GRASS_EDGE 

A lane boundary covered by grass.

TYPE_GRAVEL_EDGE 

A lane boundary covered by gravel.

TYPE_SOIL_EDGE 

A lane boundary covered by soil.

TYPE_GUARD_RAIL 

A guard rail.

TYPE_CURB 

A curb.

TYPE_STRUCTURE 

A structure (e.g.

building or tunnel wall).

TYPE_BARRIER 

A barrier to guide vehicles and to prevent them from entering other lanes (e.g.

a concrete barrier on a highway).

TYPE_SOUND_BARRIER 

A sound barrier.

◆ Color

The semantic color of the lane boundary in case of a lane markings.

Lane markings that alternate in color must be represented by individual LaneBoundary segments.

Note
The color types represent the semantic color classification of lane markings only. They do not represent an actual visual appearance.
Enumerator
COLOR_UNKNOWN 

Color of marking is unknown.

Value must not be used in ground truth.

COLOR_OTHER 

Other (unspecified but known) color.

COLOR_NONE 

Marking without color.

Used to represent logical boundaries without actual physical markings at the respective position. Value may be used in ground truth only.

COLOR_WHITE 

Marking with white color.

COLOR_YELLOW 

Marking with yellow / orange-yellow color.

COLOR_RED 

Marking with red color.

COLOR_BLUE 

Marking with blue color.

COLOR_GREEN 

Marking with green color;.

COLOR_VIOLET 

Marking with violet color.

COLOR_ORANGE 

Marking with orange color.

Member Data Documentation

◆ type

optional Type osi3::LaneBoundary::Classification::type = 1

The type of the lane boundary.

◆ color

optional Color osi3::LaneBoundary::Classification::color = 2

The semantic color of the lane boundary in case of lane markings.

Note
The color types represent the semantic classification of lane markings only. They do not represent an actual visual appearance.

◆ limiting_structure_id

repeated Identifier osi3::LaneBoundary::Classification::limiting_structure_id = 3

The ids of StationaryObject which limit the corresponding lane.

This field must be set if the type is set to TYPE_STRUCTURE

Rules
refers_to: StationaryObject

  • osi_lane.proto