0
$\begingroup$

Rosanswers logo

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.


Originally posted by vivek on ROS Answers with karma: 53 on 2012-04-28

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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?


Originally posted by Stefan Kohlbrecher with karma: 24361 on 2012-04-28

This answer was ACCEPTED on the original site

Post score: 2


Original comments

Comment by vivek on 2012-04-30:
yes i got that and when i use it as a quaternion im getting the values right. thanks for the reply

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.