Skip to content

Commit 62f3b0b

Browse files
committed
removed _list _candidate and more and introduced EstimatedStationaryObject
1 parent b778973 commit 62f3b0b

File tree

1 file changed

+54
-37
lines changed

1 file changed

+54
-37
lines changed

osi_detectedobject.proto

Lines changed: 54 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -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
@@ -400,12 +400,16 @@ message DetectedStationaryObject
400400
// In case of a ghost detection (no corresponding ground truth), this field
401401
// should be unset.
402402
//
403-
repeated Identifier ground_truth_id_list = 2;
403+
// \note OSI uses singular instead of plural for repeated field names.
404+
//
405+
repeated Identifier ground_truth_id = 2;
404406

405-
// A list of candidates for this stationary object (e.g. landmark) as
407+
// A list of estimates for this stationary object (e.g. landmark) as
406408
// estimated by the sensor.
407409
//
408-
repeated CandidateStationaryObject candidate_stationary_objects = 3;
410+
// \note OSI uses singular instead of plural for repeated field names.
411+
//
412+
repeated EstimatedStationaryObject stationary_object = 3;
409413

410414
// The estimated probability that this stationary object (e.g. landmark)
411415
// really exists, not based on history.
@@ -414,12 +418,6 @@ message DetectedStationaryObject
414418
// and a high value indicates strong confidence.
415419
//
416420
optional double existence_probability = 4;
417-
418-
// The root mean squared error of the base parameters of the detected
419-
// stationary object (e.g. landmark). \c StationaryObject::base has to be
420-
// identical for all \c #candidate_stationary_objects landmarks.
421-
//
422-
optional BaseStationary base_rmse = 5;
423421

424422
// A list of sensors which detected this detected entity.
425423
//
@@ -430,34 +428,53 @@ message DetectedStationaryObject
430428
// detections ( \c ...Detection::object_id = 'this detected entity' ) and
431429
// the sensors (their IDs) to which these detections belong.
432430
//
433-
repeated Identifier sensor_id_list = 6;
434-
}
435-
436-
//
437-
// \brief A candidate for a detected stationary object (e.g. landmark) as
438-
// estimated by the sensor.
439-
//
440-
message CandidateStationaryObject
441-
{
442-
// The description of the stationary object (e.g. landmark).
431+
// \note OSI uses singular instead of plural for repeated field names.
443432
//
444-
optional StationaryObject stationary_object = 1;
433+
repeated Identifier sensor_id = 5;
445434

446-
// The estimated probability that this candidate is the true value.
447-
// The sum of all \c #candidate_probability must be one.
448-
//
449-
// Range: [0,1]
450-
//
451-
optional double candidate_probability = 2;
452435

453-
// The amount of time that this detected object has been currently
454-
// observed/tracked.
455-
//
456-
// Unit: [s]
457436
//
458-
optional double age = 3;
459-
460-
// The measurement state.
437+
// \brief A candidate for a detected stationary object (e.g. landmark) as
438+
// estimated by the sensor.
461439
//
462-
optional MeasurementState measurement_state = 4;
463-
}
440+
message EstimatedStationaryObject
441+
{
442+
// A list of candidates for this stationary object as estimated by the
443+
// sensor.
444+
//
445+
// \note OSI uses singular instead of plural for repeated field names.
446+
//
447+
repeated CandidateStationaryObject candidate = 1;
448+
449+
// The root mean squared error of the base parameters of the detected
450+
// stationary object (e.g. landmark). \c StationaryObject::base has to be
451+
// identical for all \c #candidate_stationary_objects landmarks.
452+
//
453+
optional BaseStationary base_rmse = 2;
454+
455+
message CandidateStationaryObject
456+
{
457+
// The description of the stationary object (e.g. landmark).
458+
//
459+
optional StationaryObject stationary_object = 1;
460+
461+
// The estimated probability that this candidate is the true value.
462+
// The sum of all \c #candidate_probability must be one.
463+
//
464+
// Range: [0,1]
465+
//
466+
optional double probability = 2;
467+
468+
// The amount of time that this detected object has been currently
469+
// observed/tracked.
470+
//
471+
// Unit: [s]
472+
//
473+
optional double age = 3;
474+
475+
// The measurement state.
476+
//
477+
optional MeasurementState measurement_state = 4;
478+
}
479+
}
480+
}

0 commit comments

Comments
 (0)