ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

is tf.transformations.quaternion_from_euler equal with tf::createQuaternionMsgFromYaw in functional?

asked 2011-07-12 18:43:22 -0500

gong gravatar image

is tf.transformations.quaternion_from_euler equal with tf::createQuaternionMsgFromYaw in functional?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2011-07-12 22:27:46 -0500

dornhege gravatar image

It's not the same. The first expects three Euler angles and will produces an arbitrary rotation in space and results in a quaternion. The second only needs one angle and will produce a rotation around the z-Axis and return a quaternion message.

edit flag offensive delete link more

Comments

so, if I just provide yaw the two methods would be the same?
gong gravatar image gong  ( 2011-07-13 01:33:39 -0500 )edit
If you pass 0 for roll and pitch the results should be equivalent, although different data types.
dornhege gravatar image dornhege  ( 2011-07-13 05:25:30 -0500 )edit
Thanks, I‘m just to verify it.
gong gravatar image gong  ( 2011-07-13 20:25:46 -0500 )edit

Question Tools

Stats

Asked: 2011-07-12 18:43:22 -0500

Seen: 1,756 times

Last updated: Jul 12 '11