Skip to content

Commit ef2954e

Browse files
authored
Merge branch 'master' into update/traffic_light
2 parents 31d3e36 + b0ea94f commit ef2954e

File tree

8 files changed

+355
-207
lines changed

8 files changed

+355
-207
lines changed

osi_common.proto

Lines changed: 131 additions & 64 deletions
Large diffs are not rendered by default.

osi_detectedobject.proto

Lines changed: 77 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@ message DetectedObject
1818
//
1919
optional DetectedObjectHeader header = 1;
2020

21-
// Specific ID of the object as assigned by the sensor internally. Need not match with ground_truth_id.
22-
//
21+
// Specific ID of the object as assigned by the sensor internally. Need not
22+
// match with ground_truth_id.
2323
optional Identifier tracking_id = 2;
2424

25-
// The ID of the original object in the ground truth list of vehicles / objects / etc.
26-
// Multiple entries if detected object is a merge of multiple ground truth objects.
25+
// The ID of the original object in the ground truth list of vehicles /
26+
// objects etc. Multiple entries if detected object is a merge of multiple
27+
// ground truth objects.
2728
repeated Identifier ground_truth_id = 3;
2829

2930
// The amount of time that this object has been currently observed/tracked.
@@ -34,40 +35,44 @@ message DetectedObject
3435
//
3536
optional MeasurementState measurement_state = 5;
3637

37-
// Base parameters of the object. object.position is the middle of the bounding box of the target object.
38-
//
38+
// Base parameters of the object. object.position is the middle of the
39+
// bounding box of the target object.
3940
optional BaseMoving object = 6;
4041

41-
// The root mean squared error of the base parameters in object (cross correlations are currently neglected).
42-
//
42+
// The root mean squared error of the base parameters in object (cross
43+
// correlations are currently neglected).
4344
optional BaseMoving object_rmse = 7;
4445

45-
// Reference point location specification of the sensor measurement (required to decouple sensor measurement,
46-
// position and bounding box estimation) as used by the sensor (model).
46+
// Reference point location specification of the sensor measurement
47+
// (required to decouple sensor measurement, position and bounding box
48+
// estimation) as used by the sensor (model).
4749
//
48-
// \note Note that the value of this field has no impact on the value of object.position, which always references
49-
// the center of the object / bounding box.
50+
// \note Note that the value of this field has no impact on the value of
51+
// object.position, which always references the center of the object /
52+
// bounding box.
5053
optional ReferencePoint reference_point = 8;
5154

5255
// Actual movement state w.r.t. the moving object history.
5356
//
5457
optional MovementState movement_state = 9;
5558

56-
// The estimated probability that this object really exists, not based on history.
59+
// The estimated probability that this object really exists, not based on
60+
// history.
5761
//
58-
// \note Use as confidence measure where a low value means less confidence and a high value indicates
59-
// strong confidence.
62+
// \note Use as confidence measure where a low value means less confidence
63+
// and a high value indicates strong confidence.
6064
optional double existence_probability = 10;
6165

62-
// Current state of lights as perceived by sensor, only relevant if the object is estimated to be an object that
63-
// has lights.
66+
// Current state of lights as perceived by sensor, only relevant if the
67+
// object is estimated to be an object that has lights.
6468
optional Vehicle.LightState light_state = 11;
6569

66-
// Additional internal data and state flags required and used by the sensor-models, should not be used by
67-
// subscribers to SensorData. Generally this field should be cleared after internal processing.
70+
// Additional internal data and state flags required and used by the
71+
// sensor-models, should not be used by subscribers to SensorData. Generally
72+
// this field should be cleared after internal processing.
6873
//
69-
// \note optional. List of used detections to recognize this object. Detections have also an identifier to
70-
// reference to the detected object.
74+
// \note optional. List of used detections to recognize this object.
75+
// Detections have also an identifier to reference to the detected object.
7176
optional ModelInternalObject model_internal_object = 12;
7277

7378
// Additional data that is specific to radar sensors.
@@ -87,22 +92,38 @@ message DetectedObject
8792

8893
// Additional data that is specific to ultrasonic sensors.
8994
//
90-
// \note Field need not be set if simulated sensor is not an ultrasonic sensor.
95+
// \note Field need not be set if simulated sensor is not an ultrasonic
96+
// sensor.
9197
optional UltrasonicSpecificObjectData ultrasonic_specifics = 16;
9298

9399
// The estimated probabilities for the object to belong to a specific class.
94100
//
95101
optional ClassProbability class_probability = 17;
96-
97-
// The estimated pedestrian head pose.
102+
103+
// Pedestrian head pose for behaviour prediction. Describes the head
104+
// orientation w.r.t. the host vehicle orientation.
105+
// The x-axis of the right-handed head frame is pointing along the
106+
// pedestrian's straight ahead viewing direction and the z-axis is pointing
107+
// upwards (cranial direction [1] i.e. to pedestrian's skull cap).
108+
//
109+
// View_normal_base_coord_system = Inverse_Rotation(head_pose)*Unit_vector_x
98110
//
99-
// \note Pedestrian specific value.
100-
optional Orientation3d pedestrian_head_pose = 18;
111+
// \par References:
112+
// [1] https://en.wikipedia.org/wiki/Anatomical_terms_of_location
113+
optional Orientation3d head_pose = 18;
101114

102-
// The estimated pedestrian upper body pose.
115+
// Pedestrian upper body pose for behaviour prediction. Describes the
116+
// upper body orientation w.r.t. the host vehicle orientation.
117+
// The x-axis of the right-handed upper body frame is pointing along the
118+
// pedestrian's upper body ventral direction [2] (i.e. usually pedestrian's
119+
// intended moving direction) and the z-axis is pointing upwards (to
120+
// pedestrian's head).
103121
//
104-
// \note Pedestrian specific value.
105-
optional Orientation3d pedestrian_upper_body_pose = 19;
122+
// View_normal_base_coord_system = Inverse_Rotation(upper_body_pose)*Unit_vector_x
123+
//
124+
// \par References:
125+
// [2] https://en.wikipedia.org/wiki/Anatomical_terms_of_location
126+
optional Orientation3d upper_body_pose = 19;
106127

107128
// Percentage side lane left.
108129
//
@@ -114,16 +135,20 @@ message DetectedObject
114135
// Percentage value of the object width in the corresponding lane.
115136
optional double percentage_side_lane_right = 21;
116137

117-
// Definition of available reference points. Left/middle/right and front/middle/rear indicate the position in y- and
118-
// x direction respectively. The z position is always considered as middle.
138+
// Definition of available reference points. Left/middle/right and
139+
// front/middle/rear indicate the position in y- and x-direction
140+
// respectively. The z position is always considered as middle.
119141
//
120142
enum ReferencePoint
121143
{
122-
// Reference point is unknown, i.e. sensor does not report a reference point for the position coordinate.
144+
// Reference point is unknown, i.e. sensor does not report a reference
145+
// point for the position coordinate.
123146
// Value must not be used in ground truth data.
124-
// Usually this means that the reference point for the given position coordinates is a largely arbitrary point
125-
// within the bounding volume unknown to the sensor. If this value is set, the center of the bounding box should
126-
// be used as reference point by convention, unless the specific use case requires otherwise.
147+
// Usually this means that the reference point for the given position
148+
// coordinates is a largely arbitrary point within the bounding volume
149+
// unknown to the sensor. If this value is set, the center of the
150+
// bounding box should be used as reference point by convention, unless
151+
// the specific use case requires otherwise.
127152
REFERENCE_POINT_UNKNOWN = 0;
128153

129154
// Other (unspecified but known) reference point.
@@ -187,13 +212,14 @@ message DetectedObject
187212
//
188213
MOVEMENT_STATE_MOVING = 3;
189214

190-
// Object movement was detected in tracking history, but object is currently not moving.
191-
//
215+
// Object movement was detected in tracking history, but object is
216+
// currently not moving.
192217
MOVEMENT_STATE_STOPPED = 4;
193218
}
194219

195220
//
196-
// \brief Probabilities for the classification of the object as perceived by the sensor.
221+
// \brief Probabilities for the classification of the object as perceived by
222+
// the sensor.
197223
//
198224
message ClassProbability
199225
{
@@ -262,7 +288,8 @@ message DetectedObject
262288
//
263289
optional double prob_stationary = 16;
264290

265-
// Probability that the object is an unspecified but known vehicle. Range [0,1].
291+
// Probability that the object is an unspecified but known vehicle.
292+
// Range [0,1].
266293
//
267294
optional double prob_other_vehicle = 17;
268295
}
@@ -289,11 +316,13 @@ message DetectedObjectHeader
289316
//
290317
optional uint32 cycle_counter = 3;
291318

292-
// Data Qualifier expresses to what extent the content of this event can be relied on.
293-
//
319+
// Data Qualifier expresses to what extent the content of this event can be
320+
// relied on.
294321
optional DataQualifier data_qualifier = 4;
295322

296-
// \brief Data qualifier communicates the overall availability of the interface.
323+
//
324+
// \brief Data qualifier communicates the overall availability of the
325+
// interface.
297326
//
298327
enum DataQualifier
299328
{
@@ -327,7 +356,8 @@ message DetectedObjectHeader
327356
}
328357

329358
//
330-
// \brief Version of detected object messages (DetectionObject etc.).
359+
// \brief Version of detected object messages ( \c OSI::DetectedObject
360+
// etc.).
331361
//
332362
message InterfaceVersion
333363
{
@@ -353,15 +383,15 @@ enum MeasurementState
353383
//
354384
MEASUREMENT_STATE_UNKNOWN = 0;
355385

356-
// Measurement state is unspecified (but known, i.e. value is not part of this enum list).
357-
//
386+
// Measurement state is unspecified (but known, i.e. value is not part of
387+
// this enum list).
358388
MEASUREMENT_STATE_OTHER = 1;
359389

360390
// Entity has been measured by the sensor in the current timestep.
361391
//
362392
MEASUREMENT_STATE_MEASURED = 2;
363393

364-
// Entity has not been measured by the sensor in the current timestep. Values provided by tracking only.
365-
//
394+
// Entity has not been measured by the sensor in the current timestep.
395+
// Values provided by tracking only.
366396
MEASUREMENT_STATE_PREDICTED = 3;
367397
}

0 commit comments

Comments
 (0)