Skip to content

Commit 413a9d4

Browse files
Move sensor-specifics to DetectedItemHeader
Signed-off-by: Thomas Sedlmayer <[email protected]>
1 parent 3af2351 commit 413a9d4

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

osi_detectedobject.proto

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,34 @@ message DetectedItemHeader
6767
//
6868
repeated Identifier sensor_id = 6;
6969

70+
// Additional data that is specific to radar sensors.
71+
//
72+
// \note Field needs not to be set if simulated sensor is not a radar
73+
// sensor.
74+
//
75+
optional RadarSpecificObjectData radar_specifics = 100;
76+
77+
// Additional data that is specific to lidar sensors.
78+
//
79+
// \note Field needs not to be set if simulated sensor is not a lidar
80+
// sensor.
81+
//
82+
optional LidarSpecificObjectData lidar_specifics = 101;
83+
84+
// Additional data that is specific to camera sensors.
85+
//
86+
// \note Field needs not to be set if simulated sensor is not a camera
87+
// sensor.
88+
//
89+
optional CameraSpecificObjectData camera_specifics = 102;
90+
91+
// Additional data that is specific to ultrasonic sensors.
92+
//
93+
// \note Field needs not to be set if simulated sensor is not an ultrasonic
94+
// sensor.
95+
//
96+
optional UltrasonicSpecificObjectData ultrasonic_specifics = 103;
97+
7098
// Definition of measurement states.
7199
//
72100
enum MeasurementState
@@ -136,27 +164,35 @@ message DetectedStationaryObject
136164
// \note Field needs not to be set if simulated sensor is not a radar
137165
// sensor.
138166
//
167+
// \note DEPRECATED: Use radar_specifics in DetectedItemHeader instead.
168+
//
139169
optional RadarSpecificObjectData radar_specifics = 100;
140170

141171
// Additional data that is specific to lidar sensors.
142172
//
143173
// \note Field needs not to be set if simulated sensor is not a lidar
144174
// sensor.
145175
//
176+
// \note DEPRECATED: Use lidar_specifics in DetectedItemHeader instead.
177+
//
146178
optional LidarSpecificObjectData lidar_specifics = 101;
147179

148180
// Additional data that is specific to camera sensors.
149181
//
150182
// \note Field needs not to be set if simulated sensor is not a camera
151183
// sensor.
152184
//
185+
// \note DEPRECATED: Use camera_specifics in DetectedItemHeader instead.
186+
//
153187
optional CameraSpecificObjectData camera_specifics = 102;
154188

155189
// Additional data that is specific to ultrasonic sensors.
156190
//
157191
// \note Field needs not to be set if simulated sensor is not an ultrasonic
158192
// sensor.
159193
//
194+
// \note DEPRECATED: Use ultrasonic_specifics in DetectedItemHeader instead.
195+
//
160196
optional UltrasonicSpecificObjectData ultrasonic_specifics = 103;
161197

162198
//
@@ -273,27 +309,35 @@ message DetectedMovingObject
273309
// \note Field needs not to be set if simulated sensor is not a radar
274310
// sensor.
275311
//
312+
// \note DEPRECATED: Use radar_specifics in DetectedItemHeader instead.
313+
//
276314
optional RadarSpecificObjectData radar_specifics = 100;
277315

278316
// Additional data that is specific to lidar sensors.
279317
//
280318
// \note Field needs not to be set if simulated sensor is not a lidar
281319
// sensor.
282320
//
321+
// \note DEPRECATED: Use lidar_specifics in DetectedItemHeader instead.
322+
//
283323
optional LidarSpecificObjectData lidar_specifics = 101;
284324

285325
// Additional data that is specific to camera sensors.
286326
//
287327
// \note Field needs not to be set if simulated sensor is not a camera
288328
// sensor.
289329
//
330+
// \note DEPRECATED: Use camera_specifics in DetectedItemHeader instead.
331+
//
290332
optional CameraSpecificObjectData camera_specifics = 102;
291333

292334
// Additional data that is specific to ultrasonic sensors.
293335
//
294336
// \note Field needs not to be set if simulated sensor is not an ultrasonic
295337
// sensor.
296338
//
339+
// \note DEPRECATED: Use ultrasonic_specifics in DetectedItemHeader instead.
340+
//
297341
optional UltrasonicSpecificObjectData ultrasonic_specifics = 103;
298342

299343
//

0 commit comments

Comments
 (0)