Skip to content

Commit f9c58d0

Browse files
Headers not nested.
1 parent c19815b commit f9c58d0

File tree

4 files changed

+32
-31
lines changed

4 files changed

+32
-31
lines changed

osi_detectedlandmark.proto

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ message DetectedTrafficSign
5757
{
5858
// Common information of one detected item candidate.
5959
//
60-
optional DetectedItemHeader.CandidateItemHeader header = 1;
60+
optional DetectedCandidateItemHeader header = 1;
6161

6262
// The definition of one main sign that defines this candidate.
6363
//
@@ -165,7 +165,7 @@ message DetectedTrafficSign
165165
{
166166
// Common information of one detected item candidate.
167167
//
168-
optional DetectedItemHeader.CandidateItemHeader header = 1;
168+
optional DetectedCandidateItemHeader header = 1;
169169

170170
// The definition of one of more supplementary signs that together
171171
// define this candidate.
@@ -218,7 +218,7 @@ message DetectedTrafficLight
218218
{
219219
// Common information of one detected item candidate.
220220
//
221-
optional DetectedItemHeader.CandidateItemHeader header = 1;
221+
optional DetectedCandidateItemHeader header = 1;
222222

223223
// The definition of one traffic light that define this candidate.
224224
//
@@ -270,7 +270,7 @@ message DetectedRoadMarking
270270
{
271271
// Common information of one detected item candidate.
272272
//
273-
optional DetectedItemHeader.CandidateItemHeader header = 1;
273+
optional DetectedCandidateItemHeader header = 1;
274274

275275
// The description of the road marking.
276276
//
@@ -321,7 +321,7 @@ message DetectedLandmark
321321
{
322322
// Common information of one detected item candidate.
323323
//
324-
optional DetectedItemHeader.CandidateItemHeader header = 1;
324+
optional DetectedCandidateItemHeader header = 1;
325325

326326
// The description of the landmark.
327327
//

osi_detectedlane.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ message DetectedLane
4040
{
4141
// Common information of one detected item candidate.
4242
//
43-
optional DetectedItemHeader.CandidateItemHeader header = 1;
43+
optional DetectedCandidateItemHeader header = 1;
4444

4545
// The definition of one lane that defines this candidate.
4646
//
@@ -101,7 +101,7 @@ message DetectedLaneBoundary
101101
{
102102
// Common information of one detected item candidate.
103103
//
104-
optional DetectedItemHeader.CandidateItemHeader header = 1;
104+
optional DetectedCandidateItemHeader header = 1;
105105

106106
// The definition of one lane boundary that defines this candidate.
107107
//

osi_detectedobject.proto

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,10 @@ enum MeasurementState
383383
MEASUREMENT_STATE_PREDICTED = 3;
384384
}
385385

386-
387-
388-
386+
//
387+
// \brief The common information for a detected item as estimated by the
388+
// sensor.
389+
//
389390
message DetectedItemHeader
390391
{
391392
// Specific ID of the detected item as assigned by the sensor internally.
@@ -422,29 +423,29 @@ message DetectedItemHeader
422423
// \note OSI uses singular instead of plural for repeated field names.
423424
//
424425
repeated Identifier sensor_id = 4;
426+
}
425427

428+
//
429+
// \brief The common information for a detected item's candidate as estimated
430+
// by the sensor.
431+
//
432+
message DetectedCandidateItemHeader
433+
{
434+
// The estimated probability that this candidate is the true value.
435+
// The sum of all \c #probability must be one.
426436
//
427-
// \brief A candidate for a detected item as estimated by the
428-
// sensor.
437+
// Range: [0,1]
429438
//
430-
message CandidateItemHeader
431-
{
432-
// The estimated probability that this candidate is the true value.
433-
// The sum of all \c #probability must be one.
434-
//
435-
// Range: [0,1]
436-
//
437-
optional double probability = 1;
439+
optional double probability = 1;
438440

439-
// The amount of time that this detected object has been currently
440-
// observed/tracked.
441-
//
442-
// Unit: [s]
443-
//
444-
optional double age = 2;
441+
// The amount of time that this detected object has been currently
442+
// observed/tracked.
443+
//
444+
// Unit: [s]
445+
//
446+
optional double age = 2;
445447

446-
// The measurement state.
447-
//
448-
optional MeasurementState measurement_state = 3;
449-
}
448+
// The measurement state.
449+
//
450+
optional MeasurementState measurement_state = 3;
450451
}

osi_detectedoccupant.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ message DetectedOccupant
4747
{
4848
// Common information of one detected item candidate.
4949
//
50-
optional DetectedItemHeader.CandidateItemHeader header = 1;
50+
optional DetectedCandidateItemHeader header = 1;
5151

5252
// The detected vehicle occupant.
5353
//

0 commit comments

Comments
 (0)