On Wed, 27 August, 2008 12:46 pm, Thayne (Mech Stu) wrote:
>
> Thanks dude i'll try it again. hahaha i know my C++ sucks they didnt teach us
> enough and im stuck with a thesis that requires a lot of C++ so the
> "robot.Read()" should be outside the loop after the declaration of laser
> proxy or inside the loopbefore "GetRange()"?
Now this is a player question.
You only get the current state of the robot after doing a Read(), so unless
you only want the first state, you need in the loop.
Fred
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Playerstage-users mailing list
Playerstage-users@...
https://lists.sourceforge.net/lists/listinfo/playerstage-users