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

Calculating Odometry Data for the Navigation Stack

asked 2015-04-21 13:58:20 -0500

Twista3579 gravatar image

updated 2015-04-21 13:59:11 -0500

Hi Everyone,

I hope someone can help me answer a simple question. My custom robot delivers data. The data are velocity (m / s) and rotation velocity (deg / s or rad / s). I also recieve the distance the robot has traveled (mm). My problem is, I need to publish the odometry-data for the navigation-stack. I followed this tutorial ( http://wiki.ros.org/navigation/Tutori... ). The tutorial calls for the vx and vy and vth coordinates. I have the vth coordinates but I need vx and vy and don´t know how to calculate them having only the velocity and the rotation velocity.

Thank you in advance for any advice!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2015-04-21 16:23:44 -0500

yohtm gravatar image

Assuming that your robot is non-holonomic (that it can only move forward and not side-to-side), then vy will always be 0 since your robot never moves on its Y axis. As for vx, it will simply be the velocity of your robot in m/s.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-04-21 13:58:20 -0500

Seen: 311 times

Last updated: Apr 21 '15