Skip to content

Commit 4483943

Browse files
TBreitenbergerContijdsika
authored andcommitted
Added orientation acceleration to message BaseMoving (solves #279) (#291)
* Added orientation acceleration to message BaseMoving * Corrected definition in order to avoid unnecessary numerical drift
1 parent 7628378 commit 4483943

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

osi_common.proto

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -370,12 +370,11 @@ message BaseMoving
370370
// The orientation becomes global/absolute if the parent frame is inertial
371371
// (all parent frames up to ground truth).
372372
//
373-
// <tt>Rotation_yaw_pitch_roll(#orientation (t)) :=
374-
// Rotation_yaw_pitch_roll(#orientation_rate
375-
// *dt)*Rotation_yaw_pitch_roll(#orientation (t-dt))</tt>
373+
// <tt>orientation.yaw(t) := orientation_rate.yaw(t) * dt + orientation.yaw(t-dt)</tt>
376374
//
377-
// \note <tt>#orientation (t)</tt> is \b not equal <tt>#orientation
378-
// (t-dt)+#orientation_rate *dt</tt>
375+
// <tt>orientation.pitch(t) := orientation_rate.pitch(t) * dt + orientation.pitch(t-dt)</tt>
376+
//
377+
// <tt>orientation.roll(t) := orientation_rate.roll(t) * dt + orientation.roll(t-dt)</tt>
379378
//
380379
optional Orientation3d orientation_rate = 6;
381380

@@ -399,4 +398,18 @@ message BaseMoving
399398
// The polygon is defined counter-clockwise.
400399
//
401400
repeated Vector2d base_polygon = 7;
401+
402+
// The relative orientation acceleration of the moving object w.r.t. its parent
403+
// frame and parent orientation acceleration in the center point of the bounding box
404+
// (origin of the bounding box frame), noted in the parent frame.
405+
// The orientation becomes global/absolute if the parent frame is inertial
406+
// (all parent frames up to ground truth).
407+
//
408+
// <tt>orientation_rate.yaw(t) := orientation_acceleration.yaw(t) * dt + orientation_rate.yaw(t-dt)</tt>
409+
//
410+
// <tt>orientation_rate.pitch(t) := orientation_acceleration.pitch(t) * dt + orientation_rate.pitch(t-dt)</tt>
411+
//
412+
// <tt>orientation_rate.roll(t) := orientation_acceleration.roll(t) * dt + orientation_rate.roll(t-dt)</tt>
413+
//
414+
optional Orientation3d orientation_acceleration = 8;
402415
}

0 commit comments

Comments
 (0)