On Apr 12, 2006, at 11:47 AM, Jano wrote:
> As the subject said, testing this driver with an old GPS II plus
> from garmin I get these values in centimeters, though a comment in
> playerc.h says they should be in meters (and this is the current
> policy for player, right?)
> Has anyone noticed this with some other gps receiver? Should I
> submit a patch fixing this?
It's definitely a bug. The problem is that the gps data structure is
still using integers, a holdover from the constraints of Player 1.x.
For now, I've fixed libplayerc to divide utm_e and utm_n by 100.0, so
that they are reported correctly to the client program. This fix
will appear in Player 2.0.2.
We'll fix the GPS interface in Player 2.1.