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

Global Pose of Robot in Dynamic window approach

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

Devasena Inupakutika gravatar image

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

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
1

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

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

Comments

Thank you. Yes, it worked.

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

Question Tools

Stats

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

Seen: 491 times

Last updated: Apr 23 '13