geometry_msgs::Twist and cmd_vel on Turtlebot
I need help in using geometry_msgs::Twist with cmd_vel on the TurtleBot.
I am not sure what the cmd_vel does when I send a message to it.
Someone please explain clearly what it does and how I can make it move to a particular point on the map. I can get the current pose of the turtlebot from the move_base/feedback topic for feedback.
Also I found out that the program "turtlebot_follower.cpp" (package - Kinnect Follower Demo) uses the same topic (cmd_vel) to control the motors. But, I could understand little from the code. The code was trying to equate a distance with velocity, though both are floats. Please try to explain the logic behind doing so, if possible.
Thank you!