ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hello Nirmal,
This is what you need.
http://wiki.ros.org/navigation/Tutorials/RobotSetup/Odom
This will make sure that there are two things:
The odom topic will have the details for odometry information - the type for that topic is nav_msgs/Odometry.
In tf there will be a new transform between base_link and odom. The transformation from odom to base_link - defines the position and orientation of base_link in the odom frame - is the same as the position/orientation part of the odometry message as well. This should be apparent from the code.
However, I am not sure how you exactly compute the velocities/distances in that tutorial. Given that you already have the ticks, I guess all that you have to do now is this:
Once you have this you have to setup the navigation stack and you can run Monte Carlo localization.
Have a great day!