Skip to content

Commit 2f0fb36

Browse files
DerBaertigepmai
authored andcommitted
First usage of ExternalReference in Lane, StationaryObject and MovingObject
Signed-off-by: Georg Seifert <georg.seifert@carissma.eu>
1 parent a2fe892 commit 2f0fb36

File tree

2 files changed

+82
-0
lines changed

2 files changed

+82
-0
lines changed

osi_lane.proto

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,32 @@ message Lane
5050
//
5151
optional Classification classification = 2;
5252

53+
// External Reference to the Lane Source
54+
//
55+
// The ExternalReference point to the source of the lane, if it is derived
56+
// from one or more objects or external references. An exaple here is the
57+
// reference to the lane defined in a OpenDRIVE map.
58+
//
59+
// For OpenDRIVE 1.6 the items should be set as following:
60+
// * reference = URI to map, can remain empty if identical with definiton
61+
// in \c GroundTruth::map_reference
62+
// * type = "OpenDRIVE 1.6"
63+
// * identifier[0] = id of t_road
64+
// * identifier[1] = s of t_road_lanes_laneSection
65+
// * identifier[2] = id of t_road_lanes_laneSection_left_lane,
66+
// t_road_lanes_laneSection_right_lane or
67+
// t_road_lanes_laneSection_center_lane
68+
//
69+
// \note For non-ASAM Standards, it is implementation-specific how
70+
// source_reference is resolved.
71+
//
72+
// \note The value has to be repeated, as it cannot guarantee, that one
73+
// Lane-Segment is derived from only one origin segment. It is also
74+
// possible, that multiple sources (map, sensor) should be added as
75+
// reference.
76+
//
77+
repeated ExternalReference source_reference = 3;
78+
5379
//
5480
// \brief \c Classification of a lane.
5581
//

osi_object.proto

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,39 @@ message StationaryObject
4040
//
4141
optional string model_reference = 4;
4242

43+
// External Reference to the StationaryObject Source
44+
//
45+
// The ExternalReference point to the source of an stationary object, if it
46+
// is derived from an external sources like OpenDRIVE or OpenSCENARIO.
47+
//
48+
// For OpenDRIVE 1.6 the objects should be set as following:
49+
// * reference = URI to map, can remain empty if identical with definiton
50+
// in \c GroundTruth::map_reference
51+
// * type = "OpenDRIVE 1.6"
52+
// * identifier[0] = "object" for t_road_objects_object and
53+
// "bridge" for t_road_objects_bridge
54+
// * identifier[1] = id of t_road_objects_object or t_road_objects_bridge
55+
//
56+
// For OpenSCENARIO 1.0 the entities of the type MiscObject, which describes
57+
// partly stationary objecs should be set as following:
58+
// * reference = URI to the OpenSCENARIO File
59+
// * type = "OpenSCENARIO 1.0"
60+
// * identifier[0] = Entity-Type ("MiscObject")
61+
// * identifier[1] = name of MiscObject in Entity
62+
//
63+
// \note The following rule, described in OpenDRIVE, should also apply here:
64+
// * Objects derived from OpenSCENARIO shall not be mixed with objects
65+
// described in OpenDRIVE.
66+
//
67+
// \note For non-ASAM Standards, it is implementation-specific how
68+
// source_reference is resolved.
69+
//
70+
// \note The value has to be repeated, as it cannot guarantee, that one
71+
// object is derived from only one origin source, like from one
72+
// scernario file and and from the sensors.
73+
//
74+
repeated ExternalReference source_reference = 5;
75+
4376
//
4477
// \brief Classification data for a stationary object.
4578
//
@@ -359,6 +392,29 @@ message MovingObject
359392
//
360393
optional MovingObjectClassification moving_object_classification = 9;
361394

395+
// External Reference to the MovingObject Source
396+
//
397+
// The ExternalReference point to the source of an moving object, if it
398+
// is derived from an external sources like OpenSCENARIO.
399+
//
400+
// For OpenSCENARIO 1.0 the entities of the type Vehicle or Pedestrian,
401+
// which describes moving objecs should be set as following:
402+
// * reference = URI to the OpenSCENARIO File
403+
// * type = "OpenSCENARIO 1.0"
404+
// * identifier[0] = Entity-Type ("Vehicle" or "Pedestrian")
405+
// * identifier[1] = name of Vehicle/Pedestrian in Entity
406+
//
407+
// \todo OpenSCENARIO 1.0 currently does not provide an animal type.
408+
//
409+
// \note For non-ASAM Standards, it is implementation-specific how
410+
// source_reference is resolved.
411+
//
412+
// \note The value has to be repeated, as it cannot guarantee, that one
413+
// object is derived from only one origin source, like from one map
414+
// and from the sensors.
415+
//
416+
repeated ExternalReference source_reference = 10;
417+
362418
// Definition of object types.
363419
//
364420
enum Type

0 commit comments

Comments
 (0)