Skip to content

Commit 52ea356

Browse files
authored
Merge pull request #721 from thomassedlmayer/fix/docs-sensordata-parent-frame-definitions
Fix sensordata reference frame definitions
2 parents 52710bc + 8fb64c1 commit 52ea356

8 files changed

+88
-25
lines changed

osi_detectedlane.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ message DetectedLane
5454
//
5555
// \image html OSI_DetectedLaneBoundary.svg
5656
//
57+
// The parent frame of a detected lane boundary is the virtual sensor coordinate
58+
// system.
59+
//
60+
// /note The virtual sensor coordinate system is relative to the vehicle coordinate
61+
// system which has its origin in the center of the rear axle of the ego
62+
// vehicle. This means if virtual sensor mounting position and orientation are
63+
// set to (0,0,0) the virtual sensor coordinate system coincides with the
64+
// vehicle coordinate system.
65+
//
5766
message DetectedLaneBoundary
5867
{
5968
// Common information of one detected item.

osi_detectedobject.proto

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,15 @@ message DetectedItemHeader
9393
//
9494
// \image html OSI_DetectedStationaryObject.svg
9595
//
96+
// The parent frame of a detected stationary object is the virtual sensor
97+
// coordinate system.
98+
//
99+
// /note The virtual sensor coordinate system is relative to the vehicle coordinate
100+
// system which has its origin in the center of the rear axle of the ego
101+
// vehicle. This means if virtual sensor mounting position and orientation are
102+
// set to (0,0,0) the virtual sensor coordinate system coincides with the
103+
// vehicle coordinate system.
104+
//
96105
message DetectedStationaryObject
97106
{
98107
// Common information of one detected item.
@@ -172,8 +181,17 @@ message DetectedStationaryObject
172181
}
173182

174183
//
175-
// \brief Moving object in the environment as detected and perceived by
176-
// the sensor.
184+
// \brief Moving object in the environment as detected and perceived by the
185+
// sensor.
186+
//
187+
// The parent frame of a detected moving object is the virtual sensor coordinate
188+
// system.
189+
//
190+
// /note The virtual sensor coordinate system is relative to the vehicle coordinate
191+
// system which has its origin in the center of the rear axle of the ego
192+
// vehicle. This means if virtual sensor mounting position and orientation are
193+
// set to (0,0,0) the virtual sensor coordinate system coincides with the
194+
// vehicle coordinate system.
177195
//
178196
message DetectedMovingObject
179197
{
@@ -183,8 +201,7 @@ message DetectedMovingObject
183201

184202
// The base parameters of the moving object.
185203
//
186-
// \note The bounding box does NOT includes mirrors for vehicles.
187-
// \note The parent frame of \c base is the sensor's vehicle frame.
204+
// \note The bounding box does NOT include mirrors for vehicles.
188205
// \note The height includes the ground_clearance. It always goes from the
189206
// top to the ground.
190207
//
@@ -194,8 +211,6 @@ message DetectedMovingObject
194211
// moving object (e.g. car). \c MovingObject::base has to be
195212
// identical for all \c #candidate moving objects.
196213
//
197-
// \note The parent frame of \c base is the sensor's vehicle frame.
198-
//
199214
optional BaseMoving base_rmse = 3;
200215

201216
// Reference point location specification of the sensor measurement

osi_detectedroadmarking.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ package osi3;
2020
// RoadMarking::Classification::type == \c
2121
// RoadMarking::Classification::TYPE_SYMBOLIC_TRAFFIC_SIGN is not marked.
2222
//
23+
// The parent frame of a detected road marking is the virtual sensor coordinate
24+
// system.
25+
//
26+
// /note The virtual sensor coordinate system is relative to the vehicle coordinate
27+
// system which has its origin in the center of the rear axle of the ego
28+
// vehicle. This means if virtual sensor mounting position and orientation are
29+
// set to (0,0,0) the virtual sensor coordinate system coincides with the
30+
// vehicle coordinate system.
31+
//
2332
message DetectedRoadMarking
2433
{
2534
// Common information of one detected item.

osi_detectedtrafficlight.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ package osi3;
1717
// several bulbs, e.g. red, yellow, green are three separate detected traffic
1818
// lights.
1919
//
20+
// The parent frame of a detected traffic light is the virtual sensor coordinate
21+
// system.
22+
//
23+
// /note The virtual sensor coordinate system is relative to the vehicle coordinate
24+
// system which has its origin in the center of the rear axle of the ego
25+
// vehicle. This means if virtual sensor mounting position and orientation are
26+
// set to (0,0,0) the virtual sensor coordinate system coincides with the
27+
// vehicle coordinate system.
28+
//
2029
message DetectedTrafficLight
2130
{
2231
// Common information of one detected item.

osi_detectedtrafficsign.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ package osi3;
1313
//
1414
// \image html OSI_DetectedSign.svg
1515
//
16+
// The parent frame of a detected traffic sign is the virtual sensor coordinate
17+
// system.
18+
//
19+
// \note The virtual sensor coordinate system is relative to the vehicle coordinate
20+
// system which has its origin in the center of the rear axle of the ego
21+
// vehicle. This means if virtual sensor mounting position and orientation are
22+
// set to (0,0,0) the virtual sensor coordinate system coincides with the
23+
// vehicle coordinate system.
24+
//
1625
message DetectedTrafficSign
1726
{
1827
// Common information of one detected item.
@@ -45,11 +54,14 @@ message DetectedTrafficSign
4554
//
4655
// The orientation of the bounding box \c #base
4756
// ( \c BaseStationary::orientation ) is defined as follows:
57+
//
4858
// The z-axis of the given \c BaseStationary::orientation is the vector
4959
// from the bottom to the top of the traffic sign's 2D image plate.
5060
// (Normally it is equal to the ground truth z-axis.)
61+
//
5162
// The x-axis of the given \c BaseStationary::orientation is view
5263
// normal of the traffic sign's image.
64+
//
5365
// This x-axis points from the traffic sign's image in the direction
5466
// from where a 'viewer' could see the traffic sign image.
5567
//

osi_featuredata.proto

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,9 @@ message SensorDetectionHeader
7070
//
7171
optional uint64 cycle_counter = 2;
7272

73-
// Mounting position of the sensor (origin and orientation of the sensor
74-
// frame). Both origin and orientation are given in and with respect to the
75-
// host vehicle coordinate system (see: \c MovingObject::Vehicle vehicle
76-
// reference point) [1].
73+
// The physical mounting position of the sensor (origin and orientation of
74+
// the sensor frame). Both origin and orientation are given in and with
75+
// respect to the host vehicle coordinate system [1].
7776
//
7877
// The sensor frame's x-axis is pointing in the central viewing direction of
7978
// the sensor. It is the angle bisector of the sensor's horizontal and

osi_logicaldetectiondata.proto

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,17 @@ message LogicalDetectionData
2525
//
2626
optional LogicalDetectionDataHeader header = 2;
2727

28-
// logical detections consisting of transformed (and potentially fused) detections from one or multiple sensors and sensor types.
29-
// Logical detections are given with respect to the reference frame of the logical/virtual sensor
30-
// \c SensorView::mounting_position (e.g. center of rear axle of the ego car)
28+
// Logical detections consisting of transformed (and potentially fused)
29+
// detections from one or multiple sensors and sensor types.
30+
//
31+
// The parent frame of a logical detection is the virtual sensor coordinate
32+
// system specified by \c SensorView::mounting_position .
33+
//
34+
// /note The virtual sensor coordinate system is relative to the vehicle
35+
// coordinate system which has its origin in the center of the rear axle of
36+
// the ego vehicle. This means if virtual sensor mounting position and
37+
// orientation are set to (0,0,0) the virtual sensor coordinate system
38+
// coincides with the vehicle coordinate system.
3139
//
3240
repeated LogicalDetection logical_detection = 3;
3341
}
@@ -131,8 +139,8 @@ message LogicalDetection
131139
//
132140
optional Identifier object_id = 2;
133141

134-
// Measured position of the logical detection given in cartesian coordinates in the
135-
// host vehicle coordinate system.
142+
// Measured position of the logical detection given in cartesian coordinates
143+
// in the virtual sensor coordinate system.
136144
//
137145
// Unit: m
138146
//
@@ -143,7 +151,7 @@ message LogicalDetection
143151
optional Vector3d position_rmse = 4;
144152

145153
// Velocity of the logical detection given in cartesian coordinates in the
146-
// host vehicle coordinate system.
154+
// virtual sensor coordinate system.
147155
//
148156
// Unit: m/s
149157
//

osi_sensorview.proto

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,17 @@ message SensorView
6262
//
6363
optional Identifier sensor_id = 3;
6464

65-
// The virtual mounting position of the sensor (origin and orientation
66-
// of the sensor coordinate system) given in vehicle coordinates [1].
67-
// The virtual position pertains to the sensor as a whole, regardless
68-
// of the actual position of individual physical detectors, and governs
69-
// the sensor-relative coordinates in detected objects of the sensor
70-
// as a whole. Individual features detected by individual physical
71-
// detectors are governed by the actual physical mounting positions
72-
// of the detectors, as indicated in the technology-specific sub-views
73-
// and sub-view configurations.
65+
// The virtual mounting position of the sensor (origin and orientation of
66+
// the sensor frame). Both origin and orientation are given in and with
67+
// respect to the host vehicle coordinate system [1].
68+
//
69+
// The virtual position pertains to the sensor as a whole, regardless of the
70+
// actual position of individual physical detectors, and governs the
71+
// sensor-relative coordinates in detected objects of the sensor as a whole.
72+
// Individual features detected by individual physical detectors are
73+
// governed by the actual physical mounting positions of the detectors, as
74+
// indicated in the technology-specific sub-views and sub-view
75+
// configurations.
7476
//
7577
// \arg \b x-direction of sensor coordinate system: sensor viewing direction
7678
// \arg \b z-direction of sensor coordinate system: sensor (up)

0 commit comments

Comments
 (0)