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

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
9

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

Comments

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 http://ros.org/doc/electric/api/geometry_msgs/html/msg/Pose.html

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

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

michikarg gravatar image

Hi,

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: http://en.wikipedia.org/wiki/Quaternion ).

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

Question Tools

1 follower

Stats

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

Seen: 5,269 times

Last updated: Mar 23 '12