Skip to content

Commit 28bf88e

Browse files
author
Stefan Cyliax
authored
Merge pull request #496 from joullsson/master
Matrix order in definition of Euler Angles #495
2 parents f1b1588 + 99b2abe commit 28bf88e

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

osi_common.proto

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -143,25 +143,23 @@ message Dimension3d
143143
// Units are rad for orientation, rad/s for rates, and rad/s^2 for
144144
// accelerations
145145
//
146-
// The preferred angular range is [-pi, pi]. The coordinate system is defined as
147-
// right-handed.
146+
// The coordinate system is defined as right-handed.
148147
// For the sense of each rotation, the right-hand rule applies.
149148
//
150149
// The rotations are to be performed \b yaw \b first (around the z-axis),
151150
// \b pitch \b second (around the new y-axis) and \b roll \b third (around the
152151
// new x-axis) to follow the definition according to [1] (Tait-Bryan / Euler
153-
// convention z-y'-x'').
152+
// convention z-y'-x''). The preferred angular range is [-pi, pi] for roll
153+
// and yaw and [-pi/2, pi/2] for pitch.
154154
//
155155
// Roll/Pitch are 0 if the objects xy-plane is parallel to its parent's
156156
// xy-plane. Yaw is 0 if the object's local x-axis is parallel to its parent's
157157
// x-axis.
158158
//
159159
// \f$ Rotation_{yaw,pitch,roll} =
160-
// Rotation_{roll}*Rotation_{pitch}*Rotation_{yaw} \f$
160+
// Rotation_{yaw}*Rotation_{pitch}*Rotation_{roll} \f$
161161
//
162-
// \f$ vector_{\text{global coord system}} :=
163-
// Rotation_{yaw,pitch,roll}^{-1}( \f$ \c Orientation3d \f$
164-
// )*vector_{\text{local coord system}} + local_{origin}\text{::position} \f$
162+
// \f$ vector_{gobal coord system} := Rotation_{yaw, pitch, roll} * vector_{local coord system} +local_{origin::position} \f$
165163
//
166164
// \attention This definition changed in OSI version 3.0.0. Previous OSI
167165
// versions (V2.xx) had an other definition.

0 commit comments

Comments
 (0)