How to read the encoder from Arduino Robot

Hi:
I just got an Arduino Robot. Can someone tell me is there any function to read the encoder from the motors or how to do localization(global position)?

Learn to do a Google forum search for your key words of interest. Go to the below Google advanced search page and type in the key word of interest for your project. Then scroll down to the "site or domain:" entry box and put in the bottom arduino forum link. Then hit enter or use the search button.

http://www.google.com/advanced_search

http://forum.arduino.cc/index