Skip to content

Commit a332a9a

Browse files
INNOVIZ\markkLudwig Friedmann
authored andcommitted
raster_lidar_proposal: adding relevant fields to support generic lidar with custom raster
osi_sensorviewconfiguration.proto: LidarSensorViewConfiguration - adding timings, directions and number of pixels for generic configuration of lidar scan raster in each frame. osi_featureddata.proto: LidarDetection - adding reflectivity as detected by sensor osi_sensorview.proto: LidarSensorView::Reflection - adding normal to surfance to be used for reflectivity calcuation (future use), and object id for easier debug
1 parent d144f0c commit a332a9a

File tree

4 files changed

+44
-0
lines changed

4 files changed

+44
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,6 @@ __pycache__/
3232
proto2cpp.log
3333
.clang-format
3434
githooks/pre-commit
35+
36+
# PyCharm specific files
37+
.idea

osi_featuredata.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,10 @@ message LidarDetection
310310
// Basic classification of the detection.
311311
//
312312
optional DetectionClassification classification = 9;
313+
314+
// Lambertian reflectivity
315+
//
316+
optional double reflectivity = 10;
313317
}
314318

315319
//

osi_sensorview.proto

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,22 @@ message LidarSensorView
283283
// Unit: [Hz]
284284
//
285285
optional double doppler_shift = 3;
286+
287+
// normal to surface angle.
288+
//
289+
// The normal of the transmitted beam to the object, roadmarking etc encounter.
290+
// \note data is in Lidar coordinate system
291+
//
292+
// Unit: [unit vector]
293+
//
294+
optional Vector3d normal_to_surface = 5;
295+
296+
// ID of the detected object this reflection is associated to.
297+
// can be used for raytracing debug
298+
//
299+
// \note ID = MAX(uint64) indicates no reference to an object.
300+
optional Identifier object_id = 6;
301+
286302
}
287303
}
288304

osi_sensorviewconfiguration.proto

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,27 @@ message LidarSensorViewConfiguration
523523
//
524524
// Unit: [Hz]
525525
optional double emitter_frequency = 9;
526+
527+
// Number of pixels in frame.
528+
//
529+
// This field includes the number of pixels in each frame
530+
//
531+
optional uint32 num_of_pixels = 10;
532+
533+
// Ray tracing data.
534+
//
535+
// The directions unit vectors describing the Lidar's raster transmission directions.
536+
// Length is num_of_pixels
537+
// \note data is in Lidar's coordinate system
538+
//
539+
repeated Vector3d directions = 11;
540+
541+
// Ray tracing data.
542+
//
543+
// The time offset in microseconds of every measurement from each frame timestamp.
544+
// Length is num_of_pixels
545+
//
546+
repeated uint32 timings = 12;
526547
}
527548

528549
//

0 commit comments

Comments
 (0)