Does ROS Navstack use the Twist part of the Odom message
The nav_msgs/Odometry
message type contains the Twist
as well as the Pose
message types. Generally odometry only means the Pose
i.e. the position and the orientation of the robot. Does ROS NavStack use this Twist
in the nav_msgs/Odometry
message to control the velocities? Or does it just refer to the Pose
part of the Odom
message?
EDIT :
I started analysing the source code of base_local_planner
(1 and 2) and I noticed that it only the Twist
part of the message is being used. Now, this is confusing me even more as the stack should use the position and orientation (Pose
) of the robot to correct the velocity commands being sent to it.
Can someone explain where exactly I'm going wrong?
Thanks
Another side question is that does ROS Navstack have the feature of velocity control? Does it make sure that the robot moves with the velocity it told to go?