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

unit for theta coming from hector mapping or laser scan matcher

asked 2012-04-28 17:29:51 -0600

vivek gravatar image

updated 2014-01-28 17:12:08 -0600

ngrennan gravatar image

hi im using hector mapping on my quardotor and have problems with the theta coming out of /poseupdate. When i yaw the quad 90 degrees i get a value of 0.63 - 0.7 . If i consider this to be in radians and convert it, the value in degrees is about 36 - 40 degrees. I've also tried with laser scan matcher with the same result.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2012-04-28 23:09:48 -0600

That indeed sounds a bit weird. the pose published on the /poseupdate topic is the pose relative to the /map frame (by default). Did you consider that the orientation is given as a quaternion and that you can´t just look at the "z" component of it to retrieve to yaw angle in rad?

edit flag offensive delete link more


yes i got that and when i use it as a quaternion im getting the values right. thanks for the reply

vivek gravatar image vivek  ( 2012-04-30 22:28:43 -0600 )edit

Question Tools


Asked: 2012-04-28 17:29:51 -0600

Seen: 404 times

Last updated: Apr 28 '12