0
$\begingroup$

Rosanswers logo

The pose from <nav_msgs::Odometry> is same as the pose from tf::Stamped<tf::Pose> ? Are these similar. Can I use the pose from the /odom topic in a function which takes a parameter of type " tf::Stamped<tf::Pose> " ?


Originally posted by Devasena Inupakutika on ROS Answers with karma: 320 on 2013-04-23

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

No, you have to use a transform listener to get the pose as a tf::Stamped<tf::pose> message type. If your function parameter needs nav_msgs::Odometry you use a standard ROS subscriber to get the pose as a <nav_msgs::odometry> message type.


Originally posted by Thomas D with karma: 4347 on 2013-04-23

This answer was ACCEPTED on the original site

Post score: 1


Original comments

Comment by Devasena Inupakutika on 2013-04-26:
Thank you. Yes, it worked.

$\endgroup$

Your Answer

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