you can display the odometry at any time by the following commands
 
robot.Read();
std::cout<<pp<<std::endl;
 
you can reset the odometry by the following commands
 
robot.Read();
pp.ResetOdometry(0,0,0);

On Mon, Apr 14, 2008 at 10:17 PM, <gzecca@irisa.fr> wrote:
Hi, I am using Player 2.0.5 and I would like the robots to print at
certain times of the execution the distance covered from the start.
Is it possible with simulated drivers or odometry or position2dProxy or
other?

If so, is there a command to reset this distance when needed, during the
execution?

Thanks



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users



--
Sohaib Rashid
Voice +92-321-5876844