Moshe Sayag wrote:
> I am trying to write a new viewer for "player" and to
> control the robots, but unfortunately, the data that I
> receive from the different devices (blob finder,
> position, etc.) is lagged (30-60 seconds old).
> Position readings, for example, are not accurate by
> the time I get them and in the camera I see things
> that are no longer in the area.
Offhand, I would guess that your client (i.e., the viewer program) is
not reading from the server often enough. You'll know this is the
problem if you see data backing up on the socket between client and
server. In Linux, use 'netstat' to check on sockets and their buffers,
$ netstat -A inet -c
Also the lag in the data would start out small and grow over time.
If your client is indeed reading too slowly, then I can recommend some
Brian P. Gerkey gerkey@...
Stanford AI Lab http://ai.stanford.edu/~gerkey