ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2022-07-07 19:55:55 -0500 | received badge | ● Student (source) |
2015-04-17 02:49:48 -0500 | received badge | ● Famous Question (source) |
2014-08-14 08:30:43 -0500 | received badge | ● Notable Question (source) |
2014-06-27 03:14:58 -0500 | received badge | ● Popular Question (source) |
2014-06-24 18:26:35 -0500 | commented question | What should we replace setEulerZYX with in the btQuaternion class (this method is now deprecated)? Unfortunately, this has the same problem as Dan's answer. All of these methods are rotations around fixed angles, instead of sequential Euler angle rotations. I agree that Euler angle implementation can be ambiguous, but euler rotations and fixed angle rotations don't seem to be equivalent. |
2014-06-24 18:13:54 -0500 | commented answer | What should we replace setEulerZYX with in the btQuaternion class (this method is now deprecated)? We are actually using tf::Quaternion, which is mostly derived from the bullet btQuaternion class. The problem is that q.setRPY and q.setEulerZYX are not equivalent. setRPY takes rotations around a fixed set of axes. setEulerZYX uses rotations relative to a frame that stays attached to the body (see the wikipedia article http://en.wikipedia.org/wiki/Euler_angles). |
2014-06-24 17:16:32 -0500 | asked a question | What should we replace setEulerZYX with in the btQuaternion class (this method is now deprecated)? We are using a Sparkfun Razor IMU, and it produces Euler angles in yaw,pitch,roll order. We need the setEulerZYX method to put this into a quaternion, but compiling this produces a warning that it is deprecated. I cannot find an equivalent function, do anyone have any suggestions for replacement? |