@@ -4,26 +4,6 @@ option optimize_for = SPEED;
44
55package osi ;
66
7- //
8- // \brief The interface version number.
9- //
10- // The field containing the version number. Should be left on default, not to be modified by sender.
11- // Increments will happen as part of changes to the whole interface.
12- //
13- message InterfaceVersion
14- {
15- // Major version number.
16- //
17- optional uint32 major = 1 [default = 2 ];
18-
19- // Minor version number.
20- //
21- optional uint32 minor = 2 [default = 1 ];
22-
23- // Patch version number.
24- //
25- optional uint32 patch = 3 [default = 1 ];
26- }
277
288//
299// \brief A cartesian 3D vector for positions, velocities or accelerations.
@@ -33,31 +13,31 @@ message InterfaceVersion
3313message Vector3d
3414{
3515 // The x coordinate.
36- //
16+ //
3717 optional double x = 1 ;
3818
3919 // The y coordinate.
40- //
20+ //
4121 optional double y = 2 ;
4222
4323 // The z coordinate.
44- //
24+ //
4525 optional double z = 3 ;
4626}
4727
4828//
49- // \brief A cartesian 2D vector for positions, velocities or accelerations.
29+ // \brief A cartesian 2D vector for positions, velocities or accelerations.
5030//
5131// Units are [m] for positions, [m/s] for velocities and [m/s^2] for accelerations.
5232//
5333message Vector2d
5434{
5535 // The x coordinate.
56- //
36+ //
5737 optional double x = 1 ;
5838
5939 // The y coordinate.
60- //
40+ //
6141 optional double y = 2 ;
6242}
6343
@@ -70,11 +50,11 @@ message Vector2d
7050message Timestamp
7151{
7252 // The number of seconds since start of the simulation / system / vehicle. Unit: [s].
73- //
53+ //
7454 optional int64 seconds = 1 ;
7555
7656 // The number of nanoseconds since the start of the last second. Unit: [ns].
77- //
57+ //
7858 optional int32 nanos = 2 ;
7959}
8060
@@ -86,15 +66,15 @@ message Timestamp
8666message Dimension3d
8767{
8868 // The width of the bounding box.
89- //
69+ //
9070 optional double width = 1 ;
91-
71+
9272 // The length of the bounding box.
93- //
73+ //
9474 optional double length = 2 ;
95-
75+
9676 // The height of the bounding box.
97- //
77+ //
9878 optional double height = 3 ;
9979}
10080
@@ -123,15 +103,15 @@ message Dimension3d
123103message Orientation3d
124104{
125105 // The roll angle/rate/acceleration.
126- //
106+ //
127107 optional double roll = 1 ;
128-
108+
129109 // The pitch angle/rate/acceleration.
130- //
110+ //
131111 optional double pitch = 2 ;
132-
112+
133113 // The yaw angle/rate/acceleration.
134- //
114+ //
135115 optional double yaw = 3 ;
136116}
137117
@@ -146,7 +126,7 @@ message Orientation3d
146126message Identifier
147127{
148128 // The identifier's value.
149- //
129+ //
150130 optional uint64 value = 1 ;
151131}
152132
@@ -158,11 +138,11 @@ message Identifier
158138message MountingPosition
159139{
160140 // Offset position relative to specified reference coordinate system.
161- //
141+ //
162142 optional Vector3d position = 1 ;
163143
164144 // Orientation offset relative to specified reference coordinate system.
165- //
145+ //
166146 optional Orientation3d orientation = 2 ;
167147}
168148
@@ -175,15 +155,15 @@ message MountingPosition
175155message Polar3d
176156{
177157 // The radial distance.
178- //
158+ //
179159 optional double distance = 1 ;
180160
181161 // The azimuth (horizontal) angle.
182- //
162+ //
183163 optional double azimuth = 2 ;
184164
185165 // The elevation (vertical) angle.
186- //
166+ //
187167 optional double elevation = 3 ;
188168}
189169
@@ -195,15 +175,15 @@ message Polar3d
195175message BaseStationary
196176{
197177 // The 3D dimension of the landmark (bounding box):
198- //
178+ //
199179 optional Dimension3d dimension = 1 ;
200180
201181 // The reference point for position and rotation (orientation): center (x, y, z) of bounding box.
202- //
182+ //
203183 optional Vector3d position = 2 ;
204184
205185 // The relative orientation of the landmark w.r.t its parent frame.
206- //
186+ //
207187 optional Orientation3d orientation = 3 ;
208188
209189 // Usage as ground truth:
@@ -230,29 +210,27 @@ message BaseStationary
230210message BaseMoving
231211{
232212 // The 3D dimension of the object (bounding box).
233- //
213+ //
234214 optional Dimension3d dimension = 1 ;
235215
236216 // The reference point for position and rotation (orientation): center (x, y, z) of bounding box.
237- //
217+ //
238218 optional Vector3d position = 2 ;
239219
240220 // The relative orientation of the object w.r.t its parent frame.
221+ //
241222 optional Orientation3d orientation = 3 ;
242223
243224 // The relative velocity of the object w.r.t. its parent frame and parent velocity.
244225 // Obviously, the velocity becomes global/absolute if the parent frame does not move.
245- //
246226 optional Vector3d velocity = 4 ;
247227
248228 // The relative acceleration of the object w.r.t. its parent frame and parent acceleration.
249229 // Obviously, the acceleration becomes global/absolute if the parent frame is not accelerating.
250- //
251230 optional Vector3d acceleration = 5 ;
252231
253232 // The relative orientation rate of the object w.r.t. its parent frame and parent orientation rate.
254233 // Obviously, the orientation rate becomes global/absolute if the parent frame is not rotating.
255- //
256234 optional Orientation3d orientation_rate = 6 ;
257235
258236 // Usage as ground truth:
0 commit comments