Skip to content

Commit ae9cd71

Browse files
committed
Removed host_vehicle_flag, host_vehicle_id in GT, reordered GT and SD, placed is_host_vehicle in Lane
1 parent 62d7023 commit ae9cd71

File tree

5 files changed

+165
-157
lines changed

5 files changed

+165
-157
lines changed

osi_detectedlane.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ message DetectedLaneBoundary
9292
// one \c #boundary_line_confidences confidence value is
9393
// specified.
9494
//
95+
// Range: [0,1]
96+
//
9597
repeated double boundary_line_confidences = 5;
9698

9799
//
@@ -117,4 +119,4 @@ message DetectedLaneBoundary
117119
//
118120
optional LaneBoundary.Classification classification = 2;
119121
}
120-
}
122+
}

osi_groundtruth.proto

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -55,60 +55,66 @@ message GroundTruth
5555
// sensor data).
5656
//
5757
optional Timestamp timestamp = 2;
58-
59-
// The list of all other moving objects including all (host) vehicles.
58+
59+
// The ID of the host vehicle object referencing to \c MovingObject .
6060
//
61-
// \note OSI uses singular instead of plural for repeated field names.
61+
// \note This ID has to be filled and is not optional!
6262
//
63-
repeated MovingObject moving_object = 3;
64-
63+
optional Identifier host_vehicle_id = 3;
64+
6565
// The list of stationary objects (excluding traffic signs and traffic
6666
// lights).
6767
//
6868
// \note OSI uses singular instead of plural for repeated field names.
6969
//
7070
repeated StationaryObject stationary_object = 4;
7171

72+
// The list of all other moving objects including all (host) vehicles.
73+
//
74+
// \note OSI uses singular instead of plural for repeated field names.
75+
//
76+
repeated MovingObject moving_object = 5;
77+
7278
// The list of traffic signs.
7379
//
7480
// \note OSI uses singular instead of plural for repeated field names.
7581
//
76-
repeated TrafficSign traffic_sign = 5;
82+
repeated TrafficSign traffic_sign = 6;
7783

7884
// The list of traffic lights.
7985
//
8086
// \note OSI uses singular instead of plural for repeated field names.
8187
//
82-
repeated TrafficLight traffic_light = 6;
88+
repeated TrafficLight traffic_light = 7;
8389

8490
// The list of road surface markings (lane markings are excluded and
8591
// defined as \c LaneBoundary).
8692
//
8793
// \note OSI uses singular instead of plural for repeated field names.
8894
//
89-
repeated RoadMarking road_marking = 7;
90-
91-
// The list of lanes forming a road network.
95+
repeated RoadMarking road_marking = 8;
96+
97+
// The list of lane boundaries.
9298
//
9399
// \note OSI uses singular instead of plural for repeated field names.
94100
//
95-
repeated Lane lane = 8;
101+
repeated LaneBoundary lane_boundary = 9;
96102

97-
// The list of lane boundaries.
103+
// The list of lanes forming a road network.
98104
//
99105
// \note OSI uses singular instead of plural for repeated field names.
100106
//
101-
repeated LaneBoundary lane_boundary = 9;
107+
repeated Lane lane = 10;
102108

103109
// The list of passengers in the (host) vehicle(s).
104110
//
105111
// \note OSI uses singular instead of plural for repeated field names.
106112
//
107-
repeated Occupant occupant = 10;
113+
repeated Occupant occupant = 11;
108114

109115
// Conditions of the environment.
110116
//
111-
optional EnvironmentalConditions environmental_conditions = 11;
117+
optional EnvironmentalConditions environmental_conditions = 12;
112118

113119
// The ISO country code in 3 digit numeric format according to:
114120
// ISO Code 3166/1 [1,2].
@@ -120,5 +126,5 @@ message GroundTruth
120126
// \li [1] [International Standard ISO 3166-1: Codes for the representation of names of countries and their subdivisions - Part 1: Country codes, third ed., 2013] (https://www.iso.org/obp/ui/)
121127
// \li [2] [Wikipedia ISO 3166/1] (https://en.wikipedia.org/wiki/ISO_3166-1)
122128
//
123-
optional uint32 country_code = 12;
129+
optional uint32 country_code = 13;
124130
}

osi_lane.proto

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,18 @@ message Lane
3939
//
4040
// \brief Classification of a lane.
4141
//
42-
message Classification {
42+
message Classification
43+
{
4344
// The type of the lane.
4445
// Example: \c #type = \c #TYPE_DRIVING (see reference picture)
4546
//
4647
optional Type type = 1;
48+
49+
// Indicates that the host vehicle travels on this particular lane.
50+
// The host vehicle may travel on more than one lane at once. This does
51+
// also apply for the \c CanditateLane in the \c DetectedLane .
52+
//
53+
optional bool is_host_vehicle_lane = 2;
4754

4855
// The lane's center line (as a list of segments).
4956
//
@@ -66,7 +73,7 @@ message Lane
6673
// \note The \c #centerline is defined only for \c #type =
6774
// \c #TYPE_DRIVING and one \c #lane_pairing pair.
6875
//
69-
repeated Vector3d centerline = 2;
76+
repeated Vector3d centerline = 3;
7077

7178
// Definition of the intended driving direction.
7279
//
@@ -79,7 +86,7 @@ message Lane
7986
// \note The \c #centerline_is_driving_direction is defined for \c #type =
8087
// \c #TYPE_DRIVING .
8188
//
82-
optional bool centerline_is_driving_direction = 3;
89+
optional bool centerline_is_driving_direction = 4;
8390

8491
// List of IDs of all lane segments that are directly adjacent to the lane
8592
// on the left side (w.r.t. intended driving direction). Note that lengths
@@ -94,7 +101,7 @@ message Lane
94101
//
95102
// \note OSI uses singular instead of plural for repeated field names.
96103
//
97-
repeated Identifier left_adjacent_lane_id = 4;
104+
repeated Identifier left_adjacent_lane_id = 5;
98105

99106
// List of IDs of all lane segments that are directly adjacent to the lane
100107
// on the right side (w.r.t. intended driving direction). Note that lengths
@@ -110,7 +117,7 @@ message Lane
110117
//
111118
// \note OSI uses singular instead of plural for repeated field names.
112119
//
113-
repeated Identifier right_adjacent_lane_id = 5;
120+
repeated Identifier right_adjacent_lane_id = 6;
114121

115122
// The antecessor/successor lane pairings of this lane. There can be
116123
// multiple pairings with the same antecessor and different successor lanes
@@ -121,7 +128,7 @@ message Lane
121128
//
122129
// \note OSI uses singular instead of plural for repeated field names.
123130
//
124-
repeated LanePairing lane_pairing = 6;
131+
repeated LanePairing lane_pairing = 7;
125132

126133
// The right adjacent lane boundaries \c #right_lane_boundary_id may only be
127134
// shared with/as the left adjacent lane boundaries
@@ -135,7 +142,7 @@ message Lane
135142
//
136143
// \note OSI uses singular instead of plural for repeated field names.
137144
//
138-
repeated Identifier right_lane_boundary_id = 7;
145+
repeated Identifier right_lane_boundary_id = 8;
139146

140147
// The left adjacent lane boundaries \c #left_lane_boundary_id may only be
141148
// shared with/as the right adjacent lane boundaries
@@ -149,7 +156,7 @@ message Lane
149156
//
150157
// \note OSI uses singular instead of plural for repeated field names.
151158
//
152-
repeated Identifier left_lane_boundary_id = 8;
159+
repeated Identifier left_lane_boundary_id = 9;
153160

154161
// The free boundaries which have no/unknown assignment to left/right.
155162
//
@@ -158,11 +165,11 @@ message Lane
158165
//
159166
// \note OSI uses singular instead of plural for repeated field names.
160167
//
161-
repeated Identifier free_lane_boundary_id = 9;
168+
repeated Identifier free_lane_boundary_id = 10;
162169

163170
// The condition of the lane, e.g. influenced by weather.
164171
//
165-
optional RoadCondition road_condition = 10;
172+
optional RoadCondition road_condition = 11;
166173

167174
// Definition of available lane types.
168175
//
@@ -313,8 +320,8 @@ message LaneBoundary
313320
// of each dashed line segment. For Botts' dots lines, one
314321
// \c BoundaryPoint position has to define each Botts' dot.
315322
//
316-
// \attention For \c BoundaryPoint the same rules regarding maximum
317-
// distance and approximation error apply as for \c Lane::centerline.
323+
// \attention For \c BoundaryPoint the same rule for the approximation
324+
// error applies as for \c Lane::centerline.
318325
//
319326
repeated BoundaryPoint boundary_line = 2;
320327

@@ -344,7 +351,7 @@ message LaneBoundary
344351
// \c BoundaryPoint .
345352
// Used for guard rails, curbstone, or similar.
346353
//
347-
// \note Field need not be set if it is defined previous.
354+
// \note Field need not be set if it is previously defined.
348355
// See \c LaneBoundary .
349356
//
350357
optional double height = 3;
@@ -353,7 +360,8 @@ message LaneBoundary
353360
//
354361
// \brief Classification data of a lane boundary.
355362
//
356-
message Classification {
363+
message Classification
364+
{
357365
// The type of the lane boundary.
358366
//
359367
optional Type type = 1;

osi_object.proto

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -344,48 +344,45 @@ message MovingObject
344344
//
345345
message VehicleAttributes
346346
{
347-
// Flag defining whether the vehicle is a simulated host vehicle: True for
348-
// host vehicle(s), false for other vehicles. See the description above!
349-
optional bool host_vehicle = 1;
350-
351347
// The ID of the driver of the (host) vehicle.
352348
//
353349
// \note Field need not be set if host_vehicle is set to false or use value
354350
// for non valid id.
355-
optional Identifier driver_id = 2;
351+
//
352+
optional Identifier driver_id = 1;
356353

357354
// Median radius of the wheels measured from a center of the wheel
358355
// including tire.
359356
//
360357
// Unit: [m]
361358
//
362-
optional double radius_wheel = 3;
359+
optional double radius_wheel = 2;
363360

364361
// Number of independent wheels.
365362
//
366363
// Unit: []
367364
//
368-
optional uint32 number_wheels = 4;
365+
optional uint32 number_wheels = 3;
369366

370367
// The vector pointing from the bounding box center point (base.position) to
371368
// the middle (in x, y and z) of the rear axle under neutral load
372369
// conditions. In object coordinates.
373370
//
374-
optional Vector3d bbcenter_to_rear = 5;
371+
optional Vector3d bbcenter_to_rear = 4;
375372

376373
// The vector pointing from the bounding box center point (base.position) to
377374
// the middle (in x, y and z) of the front axle under neutral load
378375
// conditions. In object coordinates.
379376
//
380-
optional Vector3d bbcenter_to_front = 6;
377+
optional Vector3d bbcenter_to_front = 5;
381378

382379
// Static minimal distance in [m] of under-body plane to ground
383380
// surface plane (i.e. disregarding driving dynamic effects or road
384381
// surface effects) under neutral load conditions. Can be useful to
385382
// approximate the clear area under a vehicle that a sensor can see
386383
// through.
387384
//
388-
optional double ground_clearance = 7;
385+
optional double ground_clearance = 6;
389386
}
390387

391388
//

0 commit comments

Comments
 (0)