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.