Skip to content

Commit c45f95e

Browse files
committed
feat: Add virtual detection area
Signed-off-by: Jonas <jonas.ruebsam@avl.com>
1 parent c60c72a commit c45f95e

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

osi_common.proto

+12
Original file line numberDiff line numberDiff line change
@@ -1089,3 +1089,15 @@ message KeyValuePair
10891089
//
10901090
optional string value = 2;
10911091
}
1092+
1093+
//
1094+
// \brief Polygon in 3 dimensions
1095+
//
1096+
// A polygon in 3 dimensions which contains a list of vertices.
1097+
//
1098+
message Polygon3d
1099+
{
1100+
// A list of vertices
1101+
//
1102+
repeated Vector3d vertex = 1;
1103+
}

osi_sensordata.proto

+19
Original file line numberDiff line numberDiff line change
@@ -313,4 +313,23 @@ message SensorData
313313
// in cartesian coordinates.
314314
//
315315
optional LogicalDetectionData logical_detection_data = 27;
316+
317+
//
318+
// \brief Virtual detection area of a sensor
319+
//
320+
// The virtual detection area describes the area the sensor can see in a best case scenario
321+
// where no occlusion or other statistical effects are considered. It is described by a set
322+
// of polygons.
323+
//
324+
message VirtualDetectionArea
325+
{
326+
// List of polygons. Each polygon represents a surface of the virtual detection area
327+
// and is given with respect to the virtual sensor coordinate system.
328+
//
329+
repeated Polygon3d polygon = 1;
330+
}
331+
332+
// Virtual detection area of the sensor
333+
//
334+
optional VirtualDetectionArea virtual_detection_area = 28;
316335
}

0 commit comments

Comments
 (0)