Skip to content

Commit

Permalink
feat: Add virtual detection area
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <[email protected]>
  • Loading branch information
jruebsam committed Mar 11, 2024
1 parent 2466fcb commit bfe2ea6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
12 changes: 12 additions & 0 deletions osi_common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -952,3 +952,15 @@ message KeyValuePair
//
optional string value = 2;
}

//
// \brief Polygon in 3 dimensions
//
// A polygon in 3 dimensions which contains a list of vertices.
//
message Polygon3d
{
// A list of vertices
//
repeated Vector3d vertices = 1;
}
18 changes: 18 additions & 0 deletions osi_sensordata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -297,4 +297,22 @@ message SensorData
// in cartesian coordinates.
//
optional LogicalDetectionData logical_detection_data = 27;

//
// \brief Virtual detection area of a sensor
//
// The virtual detection area describes the are the sensor can see in a best case scenario
// where no occlusion or other statistical effects are considered. It is described by a set
// of polygons.
//
message VirtualDetectionArea {
// List of polygons. Each polygon represents a surface of the virtual detection area
// and is given with respect to the virtual sensor coordinate system.
//
repeated Polygon3d polygons = 1;
}

// Virtual detection area of the sensor
//
optional VirtualDetectionArea virtual_detection_area = 28;
}

0 comments on commit bfe2ea6

Please sign in to comment.