Re: NMEA: add more gps sensor values (altitude, precision...)

2018-11-04 Thread Landry Breuil
On Sat, Nov 03, 2018 at 06:21:38PM -0400, Ted Unangst wrote: > Mark Kettenis wrote: > > SENSOR_VELOCITY would make sense. It should be m/s with some > > appropriate scaling. We don't need to represent speeds higer than > > 299792458 m/s, so micrometers per second would be a good choice. > > is i

Re: NMEA: add more gps sensor values (altitude, precision...)

2018-11-03 Thread Ted Unangst
Mark Kettenis wrote: > SENSOR_VELOCITY would make sense. It should be m/s with some > appropriate scaling. We don't need to represent speeds higer than > 299792458 m/s, so micrometers per second would be a good choice. is it reasonable to use mm/s so that distance and velocity are consistent?

Re: NMEA: add more gps sensor values (altitude, precision...)

2018-11-03 Thread Mark Kettenis
> Date: Sat, 3 Nov 2018 18:12:35 +0100 > From: Landry Breuil > > > Well, altitude really is just a vertical distance, so SENSOR_DISTANCE > > is the right one. You obviously should convert the altitude from > > meters into millimeters. If you think it would be more appropriate to > > display dis

Re: NMEA: add more gps sensor values (altitude, precision, speed, #satellites...)

2018-11-03 Thread Landry Breuil
On Sat, Nov 03, 2018 at 05:00:47PM +0100, Landry Breuil wrote: > Hi, New diff adding speed and # of satellites, uses SENSOR_VELOCITY as posted in the previous diff, and relies on SENSOR_DISTANCE being shown as meters. I redid the message type matching to account for constellation types which was c

Re: NMEA: add more gps sensor values (altitude, precision...)

2018-11-03 Thread Landry Breuil
On Sat, Nov 03, 2018 at 05:42:26PM +0100, Mark Kettenis wrote: > > Date: Sat, 3 Nov 2018 17:00:47 +0100 > > From: Landry Breuil > > > > two problems with this display: > > - DOPs are usually decimal values, ie 1.3, 1.53.. but raw sensors only > > support integers, hence *1000. > > We could add

Re: NMEA: add more gps sensor values (altitude, precision...)

2018-11-03 Thread Carlos Cardenas
On Sat, Nov 03, 2018 at 05:00:47PM +0100, Landry Breuil wrote: > Hi, > > here's a diff to add 5 new sensor values to nmea: altitude, quality, > hdop, vdop & pdop. altitude and quality are provided by GGA messages: > http://aprs.gids.nl/nmea/#gga, quality is either 0 (no fix), 1 (gps fix) > or 2 (d

Re: NMEA: add more gps sensor values (altitude, precision...)

2018-11-03 Thread Mark Kettenis
> Date: Sat, 3 Nov 2018 17:00:47 +0100 > From: Landry Breuil > > Hi, > > here's a diff to add 5 new sensor values to nmea: altitude, quality, > hdop, vdop & pdop. altitude and quality are provided by GGA messages: > http://aprs.gids.nl/nmea/#gga, quality is either 0 (no fix), 1 (gps fix) > or 2