Ask Your Question
0

Calculating Odometry Data for the Navigation Stack

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

Twista3579 gravatar image

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

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 -0600

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 109 times

Last updated: Apr 21 '15