Skip to content

Commit bfe2ea6

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

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

osi_common.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -952,3 +952,15 @@ message KeyValuePair
952952
//
953953
optional string value = 2;
954954
}
955+
956+
//
957+
// \brief Polygon in 3 dimensions
958+
//
959+
// A polygon in 3 dimensions which contains a list of vertices.
960+
//
961+
message Polygon3d
962+
{
963+
// A list of vertices
964+
//
965+
repeated Vector3d vertices = 1;
966+
}

osi_sensordata.proto

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,4 +297,22 @@ message SensorData
297297
// in cartesian coordinates.
298298
//
299299
optional LogicalDetectionData logical_detection_data = 27;
300+
301+
//
302+
// \brief Virtual detection area of a sensor
303+
//
304+
// The virtual detection area describes the are the sensor can see in a best case scenario
305+
// where no occlusion or other statistical effects are considered. It is described by a set
306+
// of polygons.
307+
//
308+
message VirtualDetectionArea {
309+
// List of polygons. Each polygon represents a surface of the virtual detection area
310+
// and is given with respect to the virtual sensor coordinate system.
311+
//
312+
repeated Polygon3d polygons = 1;
313+
}
314+
315+
// Virtual detection area of the sensor
316+
//
317+
optional VirtualDetectionArea virtual_detection_area = 28;
300318
}

0 commit comments

Comments
 (0)