Skip to content

Commit 3cc832f

Browse files
committed
Add a second alternative for obstruction
Specifically having it inside the detected moving objects rather than the SensorView.
1 parent ff6cf32 commit 3cc832f

File tree

1 file changed

+46
-2
lines changed

1 file changed

+46
-2
lines changed

osi_sensorspecific.proto

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,40 @@ import "osi_common.proto";
66

77
package osi3;
88

9+
//
10+
// \brief Obstruction values for a given object and sensor.
11+
//
12+
// For a given detected moving object, and for a particular sensor, how
13+
// obstructed is that object from the point of view of that sensor.
14+
//
15+
// \note The ID of the sensor in question is available from the parent
16+
// SensorData.sensor_id field. The ID of the object is available from
17+
// the parent DetectedMovingObject.DetectedItemHeader.ground_truth_id.
18+
//
19+
message Obstruction
20+
{
21+
// Total visible proportion for the object.
22+
//
23+
// This value considers various factors that would stop an object from being
24+
// visible from the point of view of this sensor. It should include
25+
// truncation (outside of the field of view of the sensor), distance (beyond
26+
// the range of the sensor), and occlusion (how hidden is the object by
27+
// other objects in the scene).
28+
//
29+
// Occlusion can be caused by both static objects (trees, buildings, etc.)
30+
// and dynamic objects (cars, pedestrians, etc.). By convention
31+
// semi-transparent surfaces (e.g. car windows) are considered opaque.
32+
//
33+
// \note The object is considered to be the 2D cross-section of the object
34+
// as visible from the sensor.
35+
//
36+
// The value is in the range 0.0 (fully hidden) and 1.0 (fully visible).
37+
//
38+
// \image html OSI_Obstruction_visibility.svg "Obstruction visibility"
39+
//
40+
optional double visibility = 2;
41+
}
42+
943
//
1044
// \brief Message encapsulates all data for detected objects that is specific to
1145
// radar sensors.
@@ -17,6 +51,10 @@ message RadarSpecificObjectData
1751
// Unit: dB m^2
1852
//
1953
optional double rcs = 1;
54+
55+
// Obstruction level for this object from this sensor
56+
//
57+
optional Obstruction obstruction = 2;
2058
}
2159

2260
//
@@ -25,8 +63,9 @@ message RadarSpecificObjectData
2563
//
2664
message LidarSpecificObjectData
2765
{
28-
// currently no fields.
66+
// Obstruction level for this object from this sensor
2967
//
68+
optional Obstruction obstruction = 1;
3069
}
3170

3271
//
@@ -35,8 +74,9 @@ message LidarSpecificObjectData
3574
//
3675
message CameraSpecificObjectData
3776
{
38-
// currently no fields.
77+
// Obstruction level for this object from this sensor
3978
//
79+
optional Obstruction obstruction = 1;
4080
}
4181

4282
//
@@ -85,6 +125,10 @@ message UltrasonicSpecificObjectData
85125
//
86126
repeated Signalway signalway = 5;
87127

128+
// Obstruction level for this object from this sensor
129+
//
130+
optional Obstruction obstruction = 6;
131+
88132
//
89133
// This indicates if the object was calculated based on one or multiple
90134
// sensors.

0 commit comments

Comments
 (0)