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

Global Pose of Robot in Dynamic window approach

asked 2013-04-23 06:27:24 -0500

Devasena Inupakutika gravatar image

updated 2013-04-23 12:32:59 -0500

SL Remy gravatar image

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> " ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-04-23 06:41:36 -0500

Thomas D gravatar image

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.

edit flag offensive delete link more


Thank you. Yes, it worked.

Devasena Inupakutika gravatar image Devasena Inupakutika  ( 2013-04-26 11:18:12 -0500 )edit

Question Tools


Asked: 2013-04-23 06:27:24 -0500

Seen: 483 times

Last updated: Apr 23 '13