Skip to content

Commit 2d08aa5

Browse files
carsten-kueblerpmai
authored andcommitted
Move DetectedObjectHeader to SensorData
As discussed, I moved DetectedObjectHeader to Sensor Data. I didn't number consecutively (easier to merge). We have to renumber at the end...
1 parent 61b5389 commit 2d08aa5

File tree

5 files changed

+175
-189
lines changed

5 files changed

+175
-189
lines changed

osi_detectedlandmark.proto

Lines changed: 47 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -13,41 +13,40 @@ package osi;
1313
//
1414
message DetectedTrafficSign
1515
{
16-
// Header attributes of detected traffic sign.
17-
//
18-
optional DetectedObjectHeader header = 1;
19-
20-
// Specific ID of the traffic sign as assigned by the sensor internally. Need not match with ground_truth_id.
21-
//
16+
// Specific ID of the traffic sign as assigned by the sensor internally.
17+
// Need not match with ground_truth_id.
2218
optional Identifier tracking_id = 2;
2319

2420
// The ID of the original traffic sign in the ground truth.
25-
// In case of a ghost sign (no corresponding ground truth), this field should be unset.
21+
// In case of a ghost sign (no corresponding ground truth), this field
22+
// should be unset.
2623
optional Identifier ground_truth_id = 3;
2724

2825
// A list of candidates for this traffic sign as estimated by the sensor.
2926
//
3027
repeated CandidateSign candidate_sign = 4;
3128

32-
// A list of candidates for (a) possible supplementary sign(s) as estimated by the sensor.
33-
//
29+
// A list of candidates for (a) possible supplementary sign(s) as estimated
30+
// by the sensor.
3431
repeated CandidateSupplementarySign candidate_supplementary_sign = 5;
3532

3633
// The detected geometry of the traffic sign.
3734
//
3835
optional Geometry geometry = 6;
3936

40-
// The estimated probability that this traffic sign really exists, not based on history.
37+
// The estimated probability that this traffic sign really exists, not based
38+
// on history.
4139
//
42-
// \note Use as confidence measure where a low value means less confidence and a high value indicates
43-
// strong confidence.
40+
// \note Use as confidence measure where a low value means less confidence
41+
// and a high value indicates strong confidence.
4442
optional double existence_probability = 7;
4543

4644
// The measurement state.
4745
//
4846
optional MeasurementState measurement_state = 8;
49-
// The root mean squared error of the base parameters of the detected traffic sign.
50-
//
47+
48+
// The root mean squared error of the base parameters of the detected
49+
// traffic sign.
5150
optional BaseStationary rmse = 9;
5251

5352
// Links to the corresponding lanes.
@@ -68,8 +67,8 @@ message DetectedTrafficSign
6867
//
6968
enum Geometry
7069
{
71-
// Geometry of the traffic sign is unknown (must not be used in ground truth).
72-
//
70+
// Geometry of the traffic sign is unknown (must not be used in ground
71+
// truth).
7372
GEOMETRY_UNKNOWN = 0;
7473

7574
// Geometry of the traffic sign is unspecified (but known).
@@ -128,12 +127,12 @@ message DetectedTrafficSign
128127
message CandidateSign
129128
{
130129
// The definition of the candidate's properties.
131-
// The sign.id values of all CandidateSigns within one DetectedTrafficSign correspond to the tracking ID and must
132-
// be identical.
130+
// The sign.id values of all \c CandidateSign within one
131+
// \c DetectedTrafficSign correspond to the tracking ID and must be identical.
133132
optional TrafficSign sign = 1;
134133

135-
// The estimated probability that this candidate is the true value. Range [0,1].
136-
// The sum of all candidate_probabilities must be one.
134+
// The estimated probability that this candidate is the true value.
135+
// Range [0,1]. The sum of all candidate_probabilities must be one.
137136
optional double candidate_probability = 2;
138137

139138
// The amount of time that this detected object has been currently
@@ -144,16 +143,16 @@ message CandidateSign
144143
}
145144

146145
//
147-
// \brief A candidate for (a) detected supplementary sign(s) as estimated by the sensor.
148-
//
146+
// \brief A candidate for (a) detected supplementary sign(s) as estimated by the
147+
// sensor.
149148
message CandidateSupplementarySign
150149
{
151-
// The definition of one of more supplementary signs that together define this candidate.
152-
//
150+
// The definition of one of more supplementary signs that together define
151+
// this candidate.
153152
repeated SupplementarySign sign = 1;
154153

155-
// The estimated probability that this candidate is the true value. Range [0,1].
156-
// The sum of all candidate_probabilities must be one.
154+
// The estimated probability that this candidate is the true value.
155+
// Range [0,1]. The sum of all candidate_probabilities must be one.
157156
optional double candidate_probability = 2;
158157

159158
// The amount of time that this detected object has been currently
@@ -168,16 +167,13 @@ message CandidateSupplementarySign
168167
//
169168
message DetectedTrafficLight
170169
{
171-
// Header attributes of detected traffic light.
172-
//
173-
optional DetectedObjectHeader header = 1;
174-
175-
// Specific ID of the traffic light as assigned by the sensor internally. Need not match with ground_truth_id.
176-
//
170+
// Specific ID of the traffic light as assigned by the sensor internally.
171+
// Need not match with ground_truth_id.
177172
optional Identifier tracking_id = 2;
178173

179174
// The ID of the original traffic light in the ground truth.
180-
// In case of a ghost detection (no corresponding ground truth), this field should be unset.
175+
// In case of a ghost detection (no corresponding ground truth), this field
176+
// should be unset.
181177
optional Identifier ground_truth_id = 3;
182178

183179
// Description of the detected traffic light.
@@ -192,18 +188,19 @@ message DetectedTrafficLight
192188
//
193189
repeated RelevantLane relevant_lane = 6;
194190

195-
// The estimated probability that this traffic light really exists, not based on history.
191+
// The estimated probability that this traffic light really exists, not
192+
// based on history.
196193
//
197-
// \note Use as confidence measure where a low value means less confidence and a high value indicates
198-
// strong confidence.
194+
// \note Use as confidence measure where a low value means less confidence
195+
// and a high value indicates strong confidence.
199196
optional double existence_probability = 7;
200197

201198
// The measurement state.
202199
//
203200
optional MeasurementState measurement_state = 8;
204201

205-
// The root mean squared error of the base parameters of the detected traffic light.
206-
//
202+
// The root mean squared error of the base parameters of the detected
203+
// traffic light.
207204
optional BaseStationary rmse = 9;
208205

209206
// A list of sensors which detected this detected entity.
@@ -271,26 +268,24 @@ message RelevantLane
271268
//
272269
message DetectedRoadMarking
273270
{
274-
// Header attributes of detected road marking.
275-
//
276-
optional DetectedObjectHeader header = 1;
277-
278-
// Specific ID of the road marking as assigned by the sensor internally. Need not match with ground_truth_id.
279-
//
271+
// Specific ID of the road marking as assigned by the sensor internally.
272+
// Need not match with ground_truth_id.
280273
optional Identifier tracking_id = 2;
281274

282275
// The ID of the original road marking in the ground truth.
283-
// In case of a ghost detection (no corresponding ground truth), this field should be unset.
276+
// In case of a ghost detection (no corresponding ground truth), this field
277+
// should be unset.
284278
optional Identifier ground_truth_id = 3;
285279

286280
// A list of candidates for this road marking as estimated by the sensor.
287281
//
288282
repeated CandidateRoadMarking candidate_road_marking = 4;
289283

290-
// The estimated probability that this road marking really exists, not based on history.
284+
// The estimated probability that this road marking really exists, not based
285+
// on history.
291286
//
292-
// \note Use as confidence measure where a low value means less confidence and a high value indicates
293-
// strong confidence.
287+
// \note Use as confidence measure where a low value means less confidence
288+
// and a high value indicates strong confidence.
294289
optional double existence_probability = 5;
295290

296291
// Links to the corresponding lanes.
@@ -301,8 +296,8 @@ message DetectedRoadMarking
301296
//
302297
optional MeasurementState measurement_state = 7;
303298

304-
// The root mean squared error of the base parameters of the detected road marking.
305-
//
299+
// The root mean squared error of the base parameters of the detected road
300+
// marking.
306301
optional BaseStationary rmse = 8;
307302

308303
// A list of sensors which detected this detected entity.
@@ -325,8 +320,8 @@ message CandidateRoadMarking
325320
//
326321
optional RoadMarking road_marking = 1;
327322

328-
// The estimated probability that this candidate is the true value. Range [0,1].
329-
// The sum of all candidate_probabilities must be one.
323+
// The estimated probability that this candidate is the true value.
324+
// Range [0,1]. The sum of all candidate_probabilities must be one.
330325
optional double candidate_probability = 2;
331326

332327
// The amount of time that this detected object has been currently

osi_detectedlane.proto

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,14 @@ package osi;
1313
//
1414
message DetectedLane
1515
{
16-
// Header attributes of detected lane.
17-
//
18-
optional DetectedObjectHeader header = 1;
19-
20-
// Specific ID of the detected lane as assigned by the sensor internally. Need not match with ground_truth_id.
21-
//
16+
// Specific ID of the detected lane as assigned by the sensor internally.
17+
// Need not match with ground_truth_id.
2218
optional Identifier tracking_id = 2;
2319

2420
// The ID of the original lane in the ground truth.
25-
// Multiple entries if the detected lane is a merge of multiple lanes in ground truth (as lane segment definitions
26-
// may vary between sensor and ground truth).
21+
// Multiple entries if the detected lane is a merge of multiple lanes in
22+
// ground truth (as lane segment definitions may vary between sensor and
23+
// ground truth).
2724
repeated Identifier ground_truth_id = 3;
2825

2926
// The amount of time that this detected object has been currently
@@ -40,10 +37,11 @@ message DetectedLane
4037
//
4138
optional Lane lane = 4;
4239

43-
// The estimated probability that this lane really exists, not based on history.
40+
// The estimated probability that this lane really exists, not based on
41+
// history.
4442
//
45-
// \note Use as confidence measure where a low value means less confidence and a high value indicates
46-
// strong confidence.
43+
// \note Use as confidence measure where a low value means less confidence
44+
// and a high value indicates strong confidence.
4745
optional double existence_probability = 5;
4846

4947
// A list of sensors which detected this detected entity.
@@ -62,12 +60,8 @@ message DetectedLane
6260
//
6361
message DetectedLaneBoundary
6462
{
65-
// Header attributes of detected lane boundary.
66-
//
67-
optional DetectedObjectHeader header = 1;
68-
69-
// Specific ID of the detected lane boundary as assigned by the sensor internally. Need not match with ground_truth_id.
70-
//
63+
// Specific ID of the detected lane boundary as assigned by the sensor
64+
// internally. Need not match with ground_truth_id.
7165
optional Identifier tracking_id = 2;
7266

7367
// The ID of the original LaneBoundary in the ground truth.
@@ -82,8 +76,8 @@ message DetectedLaneBoundary
8276
// Unit: [s]
8377
optional double age = 1000;
8478

85-
// State of the measurement. Lane boundary measured in the current image or Lane boundary predicted (no measurement in current image).
86-
//
79+
// State of the measurement. Lane boundary measured in the current image or
80+
// lane boundary predicted (no measurement in current image).
8781
optional MeasurementState measurement_state = 5;
8882

8983
// The basic measured lane boundary.

0 commit comments

Comments
 (0)