@@ -40,6 +40,41 @@ message StationaryObject
4040 //
4141 optional string model_reference = 4 ;
4242
43+ // External reference to the stationary-object source.
44+ //
45+ // The external reference points to the source of a stationary object, if it
46+ // is derived from an external sources like OpenDRIVE or OpenSCENARIO.
47+ //
48+ // For example, to reference an object defined in an OpenDRIVE map
49+ // the items should be set as follows:
50+ // * reference = URI to map, can remain empty if identical with definiton
51+ // in \c GroundTruth::map_reference
52+ // * type = "net.asam.opendrive"
53+ // * identifier[0] = "object" for t_road_objects_object and
54+ // "bridge" for t_road_objects_bridge
55+ // * identifier[1] = id of t_road_objects_object or t_road_objects_bridge
56+ //
57+ // For example, to reference OpenSCENARIO entities of the type MiscObject,
58+ // which describe partly stationary objects, the items should be set as
59+ // follows:
60+ // * reference = URI to the OpenSCENARIO File
61+ // * type = "net.asam.openscenario"
62+ // * identifier[0] = Entity-Type ("MiscObject")
63+ // * identifier[1] = name of MiscObject in Entity
64+ //
65+ // \note The following rule, described in OpenDRIVE, also applies:
66+ // * Objects derived from OpenSCENARIO shall not be mixed with objects
67+ // described in OpenDRIVE.
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 because one object may be derived
73+ // from more than one origin source, for example, from a scenario file
74+ // and from sensors.
75+ //
76+ repeated ExternalReference source_reference = 5 ;
77+
4378 //
4479 // \brief Classification data for a stationary object.
4580 //
@@ -359,6 +394,30 @@ message MovingObject
359394 //
360395 optional MovingObjectClassification moving_object_classification = 9 ;
361396
397+ // Optional external reference to the moving-object source
398+ //
399+ // The external reference points to the source of an moving object, if it
400+ // is derived from an external sources like OpenSCENARIO.
401+ //
402+ // For example, to reference OpenSCENARIO entities of the type Vehicle or
403+ // Pedestrian, which describe moving objects, the items should be set as
404+ // follows:
405+ // * reference = URI to the OpenSCENARIO File
406+ // * type = "net.asam.openscenario"
407+ // * identifier[0] = Entity-Type ("Vehicle" or "Pedestrian")
408+ // * identifier[1] = name of Vehicle/Pedestrian in Entity
409+ //
410+ // \todo OpenSCENARIO currently does not provide an animal type.
411+ //
412+ // \note For non-ASAM Standards, it is implementation-specific how
413+ // source_reference is resolved.
414+ //
415+ // \note The value has to be repeated because one object may be derived
416+ // from more than one origin source, for example, from a scenario file
417+ // and from sensors.
418+ //
419+ repeated ExternalReference source_reference = 10 ;
420+
362421 // Definition of object types.
363422 //
364423 enum Type
0 commit comments