@@ -9,10 +9,10 @@ package osi;
99// \brief A cartesian 3D vector for positions, velocities or accelerations or
1010// its uncertainties.
1111//
12- // Units are [m] for positions, [m/s] for velocities and [m/s^2] for accelerations.
13- //
1412// The coordinate system is defined as right-handed.
1513//
14+ // Units are [m] for positions, [m/s] for velocities and [m/s^2] for
15+ // accelerations.
1616message Vector3d
1717{
1818 // The x coordinate.
@@ -35,8 +35,8 @@ message Vector3d
3535// \brief A cartesian 2D vector for positions, velocities or accelerations or
3636// its uncertainties.
3737//
38- // Units are [m] for positions, [m/s] for velocities and [m/s^2] for accelerations.
39- //
38+ // Units are [m] for positions, [m/s] for velocities and [m/s^2] for
39+ // accelerations.
4040message Vector2d
4141{
4242 // The x coordinate.
@@ -67,9 +67,11 @@ message Timestamp
6767 optional int64 seconds = 1 ;
6868
6969 // The number of nanoseconds since the start of the last second.
70+ //
71+ // Range: [0, 999.999.999]
7072 //
7173 // Unit: [ns]
72- optional int32 nanos = 2 ;
74+ optional uint32 nanos = 2 ;
7375}
7476
7577//
@@ -118,12 +120,12 @@ message Dimension3d
118120// Roll/Pitch are 0 if the objects xy-plane is parallel to its parent's xy-plane.
119121// Yaw is 0 if the object's local x-axis is parallel to its parent's x-axis.
120122//
121- // Rotation_yaw_pitch_roll = Rotation_roll*Rotation_pitch*Rotation_yaw
123+ // <tt> Rotation_yaw_pitch_roll = Rotation_roll*Rotation_pitch*Rotation_yaw</tt>
122124//
123- // vector_global_coord_system := Inverse_Rotation_yaw_pitch_roll(orientation)*(vector_local_coord_system) + local_origin.position
125+ // <tt> vector_global_coord_system := Inverse_Rotation_yaw_pitch_roll(orientation)*(vector_local_coord_system) + local_origin.position</tt>
124126
125127//
126- // \note This definition changed in OSI version 3.0.0. Previous OSI versions
128+ // \attention This definition changed in OSI version 3.0.0. Previous OSI versions
127129// (V2.xx) had an other definition.
128130//
129131// \par References:
@@ -180,7 +182,8 @@ message MountingPosition
180182 optional Vector3d position = 1 ;
181183
182184 // Orientation offset relative to the specified reference coordinate system.
183- // Origin_sensor := Rotation_yaw_pitch_roll(MountingPosition.orientation)*(Origin_reference_coordinate_system - MountingPosition.position)
185+ //
186+ // <tt>Origin_sensor := Rotation_yaw_pitch_roll(MountingPosition.orientation)*(Origin_reference_coordinate_system - MountingPosition.position)</tt>
184187 optional Orientation3d orientation = 2 ;
185188}
186189
@@ -191,13 +194,13 @@ message MountingPosition
191194//
192195// Azimuth and elevation are defined as the rotations that would have to be
193196// applied to the local frame (e.g sensor frame definition in
194- // \c OSI:DetectionHeader ) to make its x-axis point towards the referenced point
197+ // \c SensorDetectionHeader ) to make its x-axis point towards the referenced point
195198// or to align it with the referenced vector. The rotations are to be performed
196199// \b azimuth \b first (around the z-axis) and \b elevation \b second (around
197- // the new y-axis) to follow the definition of \c OSI: Orientation3D. For the
200+ // the new y-axis) to follow the definition of \c Orientation3D. For the
198201// sense of each rotation, the right-hand rule applies.
199202//
200- // vector_cartesian := Rotation(elevation)*Rotation(azimuth)*Unit_vector_x*distance
203+ // <tt> vector_cartesian := Rotation(elevation)*Rotation(azimuth)*Unit_vector_x*distance</tt>
201204message Spherical3d
202205{
203206 // The radial distance.
@@ -219,8 +222,8 @@ message Spherical3d
219222//
220223// \brief The base attributes of a stationary object or entity.
221224//
222- // This includes the \c OSI:: StationaryObject, \c OSI:: TrafficSign,
223- // \c OSI:: TrafficLight, \c OSI:: RoadMarking messages.
225+ // This includes the \c StationaryObject , \c TrafficSign ,
226+ // \c TrafficLight , \c RoadMarking messages.
224227//
225228// All coordinates and orientations are relative to the global ground truth
226229// coordinate system.
@@ -238,7 +241,7 @@ message BaseStationary
238241 // The relative orientation of the stationary object w.r.t. its parent
239242 // frame.
240243 //
241- // Origin_base_stationary_entity := Rotation_yaw_pitch_roll(BaseStationary.orientation)*(Origin_parent_coordinate_system - BaseStationary.position)
244+ // <tt> Origin_base_stationary_entity := Rotation_yaw_pitch_roll(BaseStationary.orientation)*(Origin_parent_coordinate_system - BaseStationary.position)</tt>
242245 //
243246 // \note There may be some constraints how to align the orientation w.r.t.
244247 // to some stationary object's or entity's definition.
@@ -285,7 +288,7 @@ message BaseMoving
285288
286289 // The relative orientation of the moving object w.r.t. its parent frame.
287290 //
288- // Origin_base_moving_entity := Rotation_yaw_pitch_roll(BaseMoving.orientation)*(Origin_parent_coordinate_system - BaseMoving.position)
291+ // <tt> Origin_base_moving_entity := Rotation_yaw_pitch_roll(BaseMoving.orientation)*(Origin_parent_coordinate_system - BaseMoving.position)</tt>
289292 //
290293 // \note There may be some constraints how to align the orientation w.r.t.
291294 // to some stationary object's or entity's definition.
@@ -295,23 +298,24 @@ message BaseMoving
295298 // parent velocity.
296299 // The velocity becomes global/absolute if the parent frame does not move.
297300 //
298- // BaseMoving.position(t) := BaseMoving.position(t-dt)+velocity*dt
301+ // <tt> BaseMoving.position(t) := BaseMoving.position(t-dt)+velocity*dt</tt>
299302 optional Vector3d velocity = 4 ;
300303
301304 // The relative acceleration of the moving object w.r.t. its parent frame
302305 // and parent acceleration.
303306 // The acceleration becomes global/absolute if the parent frame is not
304307 // accelerating.
305308 //
306- // BaseMoving.position(t) := BaseMoving.position(t-dt)+velocity*dt+acceleration/2*dt^2
307- // BaseMoving.velocity(t) := BaseMoving.velocity(t-dt)+acceleration*dt
309+ // <tt>BaseMoving.position(t) := BaseMoving.position(t-dt)+velocity*dt+acceleration/2*dt^2</tt>
310+ //
311+ // <tt>BaseMoving.velocity(t) := BaseMoving.velocity(t-dt)+acceleration*dt</tt>
308312 optional Vector3d acceleration = 5 ;
309313
310314 // The relative orientation rate of the moving object w.r.t. its parent
311315 // frame and parent orientation rate in the center point of the bounding box
312316 // (origin of the bounding box frame).
313317 //
314- // Rotation_yaw_pitch_roll(BaseMoving.orientation(t)) := Rotation_yaw_pitch_roll(BaseMoving.orientation_rate*dt)*Rotation_yaw_pitch_roll(BaseMoving.orientation(t-dt))
318+ // <tt> Rotation_yaw_pitch_roll(BaseMoving.orientation(t)) := Rotation_yaw_pitch_roll(BaseMoving.orientation_rate*dt)*Rotation_yaw_pitch_roll(BaseMoving.orientation(t-dt))</tt>
315319 //
316320 // \note BaseMoving.orientation(t) is \b not equal BaseMoving.orientation(t-dt)+BaseMoving.orientation_rate*dt
317321 optional Orientation3d orientation_rate = 6 ;
0 commit comments