@@ -40,12 +40,12 @@ message DetectedObject
4040 // Base parameters of the object. object.position is the middle of the
4141 // bounding box of the target object.
4242 //
43- optional BaseMoving object = 5 ;
43+ optional BaseMoving base = 5 ;
4444
4545 // The root mean squared error of the base parameters in object (cross
4646 // correlations are currently neglected).
4747 //
48- optional BaseMoving object_rmse = 6 ;
48+ optional BaseMoving base_rmse = 6 ;
4949
5050 // Reference point location specification of the sensor measurement
5151 // (required to decouple sensor measurement, position and bounding box
@@ -110,7 +110,10 @@ message DetectedObject
110110
111111 // The estimated probabilities for the object to belong to a specific class.
112112 //
113- optional ClassProbability class_probability = 16 ;
113+ // \note The probability for each class of object has to be provided.
114+ // \note OSI uses singular instead of plural for repeated field names.
115+ //
116+ repeated ClassProbability class_probability = 16 ;
114117
115118 // Pedestrian head pose for behavior prediction. Describes the head
116119 // orientation w.r.t. the host vehicle orientation.
@@ -254,109 +257,16 @@ message DetectedObject
254257 //
255258 message ClassProbability
256259 {
257- // Probability that the object has unknown type.
258- //
259- // Range: [0,1]
260- //
261- optional double prob_unknown = 1 ;
262-
263- // Probability that the object is unspecified but known.
264- //
265- // Range: [0,1]
266- //
267- optional double prob_other = 2 ;
268-
269- // Probability that the object is a car.
270- //
271- // Range: [0,1]
272- //
273- optional double prob_car = 3 ;
274-
275- // Probability that the object is a heavy truck.
276- //
277- // Range: [0,1]
278- //
279- optional double prob_heavy_truck = 4 ;
280-
281- // Probability that the object is a van.
282- //
283- // Range: [0,1]
284- //
285- optional double prob_van = 5 ;
286-
287- // Probability that the object is a bus.
288- //
289- // Range: [0,1]
290- //
291- optional double prob_bus = 6 ;
292-
293- // Probability that the object is a trailer.
294- //
295- // Range: [0,1]
296- //
297- optional double prob_trailer = 7 ;
298-
299- // Probability that the object is a semitrailer.
300- //
301- // Range: [0,1]
260+ // The class of object that has been estimated with a certain
261+ // probability.
302262 //
303- optional double prob_semitrailer = 8 ;
263+ optional Vehicle.Type class = 1 ;
304264
305- // Probability that the object is a tram .
265+ // Probability that the object is of that certain class .
306266 //
307267 // Range: [0,1]
308268 //
309- optional double prob_tram = 9 ;
310-
311- // Probability that the object is a train.
312- //
313- // Range: [0,1]
314- //
315- // \note Can also be used for underground railway.
316- //
317- optional double prob_train = 10 ;
318-
319- // Probability that the object is a motorbike.
320- //
321- // Range: [0,1]
322- //
323- optional double prob_motorbike = 11 ;
324-
325- // Probability that the object is a bicycle.
326- //
327- // Range: [0,1]
328- //
329- optional double prob_bicycle = 12 ;
330-
331- // Probability that the object is a pedestrian.
332- //
333- // Range: [0,1]
334- //
335- optional double prob_pedestrian = 13 ;
336-
337- // Probability that the object is a wheelchair.
338- //
339- // Range: [0,1]
340- //
341- optional double prob_wheelchair = 14 ;
342-
343- // Probability that the object is an animal.
344- //
345- // Range: [0,1]
346- //
347- optional double prob_animal = 15 ;
348-
349- // Probability that the object is a stationary object.
350- //
351- // Range: [0,1]
352- //
353- optional double prob_stationary = 16 ;
354-
355- // Probability that the object is an unspecified but known vehicle.
356- //
357- // Range: [0,1]
358- //
359- optional double prob_other_vehicle = 17 ;
269+ optional double probability = 2 ;
360270 }
361271}
362272
@@ -383,6 +293,57 @@ enum MeasurementState
383293 MEASUREMENT_STATE_PREDICTED = 3 ;
384294}
385295
296+ //
297+
298+ // \brief A stationary object (e.g. landmark) in the environment as detected by
299+ // the sensor.
300+ //
301+ message DetectedStationaryObject
302+ {
303+ // Common information of one detected item.
304+ //
305+ optional DetectedItemHeader header = 1 ;
306+
307+ // A list of estimates for this stationary object (e.g. landmark) as
308+ // estimated by the sensor.
309+ //
310+ // \note OSI uses singular instead of plural for repeated field names.
311+ //
312+ repeated EstimatedStationaryObject stationary_object = 2 ;
313+
314+ //
315+ // \brief A candidate for a detected stationary object (e.g. landmark) as
316+ // estimated by the sensor.
317+ //
318+ message EstimatedStationaryObject
319+ {
320+ // A list of candidates for this stationary object as estimated by the
321+ // sensor.
322+ //
323+ // \note OSI uses singular instead of plural for repeated field names.
324+ //
325+ repeated CandidateStationaryObject candidate = 1 ;
326+
327+ // The root mean squared error of the base parameters of the detected
328+ // stationary object (e.g. landmark). \c StationaryObject::base has to be
329+ // identical for all \c #candidate stationary objects.
330+ //
331+ optional BaseStationary base_rmse = 2 ;
332+
333+ message CandidateStationaryObject
334+ {
335+ // Common information of one detected item candidate.
336+ //
337+ optional DetectedCandidateItemHeader header = 1 ;
338+
339+ // The description of the stationary object (e.g. landmark).
340+ //
341+ optional StationaryObject stationary_object = 2 ;
342+ }
343+ }
344+ }
345+
346+
386347//
387348// \brief The common information for a detected item as estimated by the
388349// sensor.
@@ -449,3 +410,4 @@ message DetectedCandidateItemHeader
449410 //
450411 optional MeasurementState measurement_state = 3 ;
451412}
413+
0 commit comments