Skip to content

Commit fd6d64d

Browse files
authored
Merge pull request #164 from OpenSimulationInterface/update/age-of-detected-entities
Field age added to all detected entities ( issue #74)
2 parents 435b535 + c75c229 commit fd6d64d

File tree

3 files changed

+61
-16
lines changed

3 files changed

+61
-16
lines changed

osi_detectedlandmark.proto

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,12 @@ message CandidateSign
125125
// The estimated probability that this candidate is the true value. Range [0,1].
126126
// The sum of all candidate_probabilities must be one.
127127
optional double candidate_probability = 2;
128+
129+
// The amount of time that this detected object has been currently
130+
// observed/tracked.
131+
//
132+
// Unit: [s]
133+
optional double age = 3;
128134
}
129135

130136
//
@@ -139,6 +145,12 @@ message CandidateSupplementarySign
139145
// The estimated probability that this candidate is the true value. Range [0,1].
140146
// The sum of all candidate_probabilities must be one.
141147
optional double candidate_probability = 2;
148+
149+
// The amount of time that this detected object has been currently
150+
// observed/tracked.
151+
//
152+
// Unit: [s]
153+
optional double age = 3;
142154
}
143155

144156
//
@@ -284,4 +296,10 @@ message CandidateRoadMarking
284296
// The estimated probability that this candidate is the true value. Range [0,1].
285297
// The sum of all candidate_probabilities must be one.
286298
optional double candidate_probability = 2;
299+
300+
// The amount of time that this detected object has been currently
301+
// observed/tracked.
302+
//
303+
// Unit: [s]
304+
optional double age = 3;
287305
}

osi_detectedlane.proto

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@ message DetectedLane
2626
// may vary between sensor and ground truth).
2727
repeated Identifier ground_truth_id = 3;
2828

29+
// The amount of time that this detected object has been currently
30+
// observed/tracked.
31+
//
32+
// Unit: [s]
33+
optional double age = 1000;
34+
35+
// The measurement state of the detected object.
36+
//
37+
optional MeasurementState measurement_state = 1001;
38+
2939
// The detected lane.
3040
//
3141
optional Lane lane = 4;
@@ -50,20 +60,31 @@ message DetectedLaneBoundary
5060
//
5161
optional Identifier tracking_id = 2;
5262

53-
// The ID of the original laneboundary in the ground truth.
54-
// In case of a ghost laneboundary (no corresponding ground truth), this field should be unset.
63+
// The ID of the original LaneBoundary in the ground truth.
64+
//
65+
// \note In case of a ghost LaneBoundary (no corresponding ground truth),
66+
// this field should be unset.
5567
optional Identifier ground_truth_id = 3;
5668

57-
// The basic meassured lane boundary.
58-
//
59-
optional LaneBoundary lane_boundary = 4;
69+
// The amount of time that this detected object has been currently
70+
// observed/tracked.
71+
//
72+
// Unit: [s]
73+
optional double age = 1000;
6074

6175
// State of the measurement. Lane boundary measured in the current image or Lane boundary predicted (no measurement in current image).
6276
//
6377
optional MeasurementState measurement_state = 5;
6478

65-
// Probability of the detection that the lane exists.
79+
// The basic measured lane boundary.
80+
//
81+
optional LaneBoundary lane_boundary = 4;
82+
83+
// The estimated probability that this lane boundary really exists, not
84+
// based on history.
6685
//
86+
// \note Use as confidence measure where a low value means less confidence
87+
// and a high value indicates strong confidence.
6788
optional double existence_probability = 6;
6889

6990
// Confidence of the classified lane boundary type.
@@ -76,9 +97,9 @@ message DetectedLaneBoundary
7697

7798
// The root mean squared error of the BoundaryPoint information from a LaneBoundary.
7899
// For every \c lane_boundary.boundary_line point exact one \c boundary_line_rmse rmse information exist.
79-
repeated BoundaryPoint boundary_line_rmse = 9;
100+
repeated BoundaryPoint boundary_line_point_rmse = 9;
80101

81102
// Confidence of the segments of the BoundaryPoint information from a LaneBoundary.
82103
// For every \c lane_boundary.boundary_line point exact one \c boundary_line_confidence confidence value is specified.
83-
repeated double boundary_line_confidence = 10;
104+
repeated double boundary_line_point_confidences = 10;
84105
}

osi_detectedoccupant.proto

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,27 @@ message DetectedOccupant
2121
//
2222
optional Identifier tracking_id = 2;
2323

24-
// The detected vehicle occupant
25-
//
26-
optional Occupant occupant = 3;
27-
2824
// The ID of the original vehicle occupant in the ground truth.
2925
//
3026
optional Identifier ground_truth_occupant_id = 4;
3127

28+
// The amount of time that this detected object has been currently
29+
// observed/tracked.
30+
//
31+
// Unit: [s]
32+
optional double age = 1000;
33+
34+
// The measurement state.
35+
//
36+
optional MeasurementState measurement_state = 6;
37+
38+
// The detected vehicle occupant
39+
//
40+
optional Occupant occupant = 3;
41+
3242
// The estimated probability that this occupant really exists, not based on history.
3343
//
3444
// \note Use as confidence measure where a low value means less confidence and a high value indicates
3545
// strong confidence.
3646
optional double existence_probability = 5;
37-
38-
// The measurement state.
39-
//
40-
optional MeasurementState measurement_state = 6;
4147
}

0 commit comments

Comments
 (0)