ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

problem in geometry_msgs::Pose

asked 2012-03-23 04:15:26 -0500

navidnabavi gravatar image

updated 2014-01-28 17:11:43 -0500

ngrennan gravatar image

what is x, y, z and w in Quaternion oriention? specially what is w?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-03-23 04:25:09 -0500

Have a look at REP103 on Standard Units of Measure and Coordinate Conventions. If you're not familiar with quaternions it also helps to have a look at pages like this Wikipedia page on Quaternions and spatial rotation.

edit flag offensive delete link more


Also for information about any message you can use the rosmsg command with the --raw option to see the comments. Or browse the online docs for the message

Tully gravatar image Tully  ( 2012-03-23 18:46:32 -0500 )edit

answered 2012-03-23 04:25:40 -0500

michikarg gravatar image


For representing orientation in ROS, quaternions are used. They do not represent a human-readable format like e.g. euler angles (more information about quaternions here: ).

To easily convert between euler angles and quaternions, the tf-ROS package offers a set of functions like "createQuaternionFromYaw" or similar...

Have a look at <tf transform_datatypes.h=""> for more information.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2012-03-23 04:15:26 -0500

Seen: 4,880 times

Last updated: Mar 23 '12