[DebianGIS-dev] Bug#456149: gpsdrive: Doesn't display my altitude
Andreas wrote: I opened a bug in the gpsdrive tracker to use libgps or similar in the future and remove gpsdrive's own nmea handler. this has now been done upstream, and will be in the upcoming 2.10pre7 release. regards, Hamish ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] Bug#456149: gpsdrive: Doesn't display my altitude
Hi Hamish, glad to see you working on gpsdrive.. :) On Dec 16 22:55, Hamish wrote: I was having this problem with my BU-353 USB-puck GPS a little while ago. The gpsd cgps program put it into SiRF binary mode without me asking, and that creates (AFAICT) pseudo-NMEA strings when a client asks for raw mode. no idea if it helps with the Garmin, I think the problem with (most?) garmin devices has been fixed in gpsd already. As an alternative one could use the dbus interface to gpsd as well. I opened a bug in the gpsdrive tracker to use libgps or similar in the future and remove gpsdrive's own nmea handler. Cheers, Andreas ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] Bug#456149: gpsdrive: Doesn't display my altitude
fyi, I was having this problem with my BU-353 USB-puck GPS a little while ago. The gpsd cgps program put it into SiRF binary mode without me asking, and that creates (AFAICT) pseudo-NMEA strings when a client asks for raw mode. this was with gpsdrive built from SVN (Oct 2008?) and I believe gpsd 2.36-2~bpo40+1 for debian etch from backports.org. The solution was to reset the GPS to output in NMEA not binary SiRF protocol using scripts/gpsd_nmea.sh from the gpsdrive source code. which is just: echo Switching the GPS connected to the local Gpsd into NMEA Mode ... (echo N=0; sleep 1 ) | telnet localhost 2947 no idea if it helps with the Garmin, Hamish ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] Bug#456149: gpsdrive: Doesn't display my altitude
Hi Andrew, On Dec 13 21:59, Andrew McMillan wrote: Package: gpsdrive Version: 2.10~pre4-1 Severity: normal GPSDrive is not displaying any altitude reading from my GPS (a Garmin 60CSx). If I telnet to the gpsd port on my local machine I definitely do see my altitude coming through on the various data streams available. You may try to use gpsdrive together with the DBUS interface (gpsdrive -X) wich is enabled in the package since version -2. This should work with your GPS to display the altitude in gpsdrive. regards, andreas ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] Bug#456149: gpsdrive: Doesn't display my altitude
On Mon, 2007-12-17 at 00:10 +0100, Andreas Putzo wrote: On Dec 14 20:19, Andrew McMillan wrote: GPSDrive is not displaying any altitude reading from my GPS (a Garmin 60CSx). If I telnet to the gpsd port on my local machine I definitely do see my altitude coming through on the various data streams available. The GPS itself is a Garmin GPSMap 60 CSx which has a barometric altimeter, can see 10 satellites at the time and is itself displaying altitude and '3D' in it's own status. Here is a sample from connecting to gpsd now. There are no GSA sentences in your sample log and i think gpsdrive heavily relies on them to determine whether it knows the altitude or not. According to the manual of the 60CSx the device should use GSA. Did you set the Serial Data Format in the Interface Setup menu to NMEA and if not, can you please verify if the problem persists with this setting? I can set the serial data format to 'NMEA', but it doesn't make a difference because I'm using the USB connection. It looks like the Garmin will only output in the 'Garmin' format via the USB connection, so gpsdrive is depending on the 'on the fly' translation done by gpsd for non-NMEA units. On the other hand, gpsd is certainly *providing* the altitude within the NMEA output, viz: $GPGGA,055148,4106.5421,S,17452.2917,E,1,09,,94.9,M,16.836,M,,*42 It looks like the GSA sentence is not produced by gpsd when it's doing it's on-the-fly translation. It does provide a 'q' command which returns essentially the same data, so it could probably be added. On the other hand, perhaps using the GSA message as the sole source of altitude data seems short-sighted, especially if there are GPS out there which can provide greater altitude accuracy by combining the GPS data with other sensors internally. I've filed bug #456634 against gpsd asking if it can also provide GSA sentences when synthesizing NMEA output, but I think it would still be nice if gpsdrive were capable of using the GGA output as an alternative as well. Thanks for your help. Regards, Andrew McMillan. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 Does the turtle move for you? www.kame.net - signature.asc Description: This is a digitally signed message part ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] Bug#456149: gpsdrive: Doesn't display my altitude
On Dec 17 21:18, Andrew McMillan wrote: On Mon, 2007-12-17 at 00:10 +0100, Andreas Putzo wrote: On Dec 14 20:19, Andrew McMillan wrote: GPSDrive is not displaying any altitude reading from my GPS (a Garmin 60CSx). If I telnet to the gpsd port on my local machine I definitely do see my altitude coming through on the various data streams available. The GPS itself is a Garmin GPSMap 60 CSx which has a barometric altimeter, can see 10 satellites at the time and is itself displaying altitude and '3D' in it's own status. Here is a sample from connecting to gpsd now. There are no GSA sentences in your sample log and i think gpsdrive heavily relies on them to determine whether it knows the altitude or not. According to the manual of the 60CSx the device should use GSA. Did you set the Serial Data Format in the Interface Setup menu to NMEA and if not, can you please verify if the problem persists with this setting? I can set the serial data format to 'NMEA', but it doesn't make a difference because I'm using the USB connection. It looks like the Garmin will only output in the 'Garmin' format via the USB connection, so gpsdrive is depending on the 'on the fly' translation done by gpsd for non-NMEA units. On the other hand, gpsd is certainly *providing* the altitude within the NMEA output, viz: $GPGGA,055148,4106.5421,S,17452.2917,E,1,09,,94.9,M,16.836,M,,*42 It looks like the GSA sentence is not produced by gpsd when it's doing it's on-the-fly translation. It does provide a 'q' command which returns essentially the same data, so it could probably be added. On the other hand, perhaps using the GSA message as the sole source of altitude data seems short-sighted, especially if there are GPS out there which can provide greater altitude accuracy by combining the GPS data with other sensors internally. I've filed bug #456634 against gpsd asking if it can also provide GSA sentences when synthesizing NMEA output, but I think it would still be nice if gpsdrive were capable of using the GGA output as an alternative as well. IMHO gpsdrive shouldn't try to parse raw gps data itself altogether :) There was a DBUS interface to gpsd which should work with garmin but it is currently broken. Anyway, i will talk with upstream about this. Regards, Andreas ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] Bug#456149: gpsdrive: Doesn't display my altitude
On Dec 14 20:19, Andrew McMillan wrote: GPSDrive is not displaying any altitude reading from my GPS (a Garmin 60CSx). If I telnet to the gpsd port on my local machine I definitely do see my altitude coming through on the various data streams available. The GPS itself is a Garmin GPSMap 60 CSx which has a barometric altimeter, can see 10 satellites at the time and is itself displaying altitude and '3D' in it's own status. Here is a sample from connecting to gpsd now. There are no GSA sentences in your sample log and i think gpsdrive heavily relies on them to determine whether it knows the altitude or not. According to the manual of the 60CSx the device should use GSA. Did you set the Serial Data Format in the Interface Setup menu to NMEA and if not, can you please verify if the problem persists with this setting? Thanks, Andreas ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] Bug#456149: gpsdrive: Doesn't display my altitude
Package: gpsdrive Version: 2.10~pre4-1 Severity: normal GPSDrive is not displaying any altitude reading from my GPS (a Garmin 60CSx). If I telnet to the gpsd port on my local machine I definitely do see my altitude coming through on the various data streams available. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (990, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.24-rc3-hippy (SMP w/2 CPU cores) Locale: LANG=en_NZ.UTF8, LC_CTYPE=POSIX (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages gpsdrive depends on: ii libart-2.0-22.3.19-3 Library of functions for 2D graphi ii libatk1.0-0 1.20.0-1 The ATK accessibility toolkit ii libboost-filesystem1.34 1.34.1-2 filesystem operations (portable pa ii libboost-thread1.34.1 1.34.1-2 portable C++ multi-threading ii libc6 2.7-3GNU C Library: Shared libraries ii libcairo2 1.4.10-1 The Cairo 2D vector graphics libra ii libfontconfig1 2.5.0-2 generic font configuration library ii libfreetype62.3.5-1+b1 FreeType 2 font engine, shared lib ii libgcc1 1:4.2.2-4GCC support library ii libglib2.0-02.14.4-2 The GLib library of C routines ii libgtk2.0-0 2.12.2-1 The GTK+ graphical user interface ii libmapnik1d 0.4.0-2+b1 C++/Python toolkit for developing ii libpango1.0-0 1.18.3-1 Layout and rendering of internatio ii libpcre37.3-2Perl 5 Compatible Regular Expressi ii libpng12-0 1.2.15~beta5-3 PNG library - runtime ii libstdc++6 4.2.2-4 The GNU Standard C++ Library v3 ii libx11-62:1.1.3-1X11 client-side library ii libxcomposite1 1:0.4.0-1X11 Composite extension library ii libxcursor1 1:1.1.9-1X cursor management library ii libxdamage1 1:1.1.1-3X11 damaged region extension libra ii libxext61:1.0.3-2X11 miscellaneous extension librar ii libxfixes3 1:4.0.3-2X11 miscellaneous 'fixes' extensio ii libxi6 2:1.1.3-1X11 Input extension library ii libxinerama11:1.0.2-1X11 Xinerama extension library ii libxml2 2.6.30.dfsg-3GNOME XML library ii libxrandr2 2:1.2.2-1X11 RandR extension library ii libxrender1 1:0.9.4-1X Rendering Extension client libra ii openstreetmap-map-icons 2.10~pre4-1 Collection of map icons ii openstreetmap-map-icons 2.10~pre4-1 Collection of map icons ii zlib1g 1:1.2.3.3.dfsg-7 compression library - runtime Versions of packages gpsdrive recommends: ii gpsd 2.34.dfsg-6 GPS (Global Positioning System) da ii gpsdrive-scripts 2.10~pre4-1 Various scripts for gpsdrive -- no debconf information ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] Bug#456149: gpsdrive: Doesn't display my altitude
Hi Andrew, thanks for reporting this bug. On Dec 13 21:59, Andrew McMillan wrote: Package: gpsdrive Version: 2.10~pre4-1 Severity: normal GPSDrive is not displaying any altitude reading from my GPS (a Garmin 60CSx). If I telnet to the gpsd port on my local machine I definitely do see my altitude coming through on the various data streams available. Does the GPS Status bar in the bottom right corner sometimes displays a 3D Fix which is needed to determine the altitude? The problem might be that gpsdrive switches to n/a in the altitude widget as soon as your gps device loses its 3D fix. If this happens frequently it might look as if there were no altitude information altogether. It would be helpful if you could provide a sample of collected nmea data for example by starting gpsd with -D2 or by reading nmea sentences directly from the device. Regards, Andreas ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel
[DebianGIS-dev] Bug#456149: gpsdrive: Doesn't display my altitude
On Thu, 2007-12-13 at 22:50 +0100, Andreas Putzo wrote: Hi Andrew, thanks for reporting this bug. On Dec 13 21:59, Andrew McMillan wrote: Package: gpsdrive Version: 2.10~pre4-1 Severity: normal GPSDrive is not displaying any altitude reading from my GPS (a Garmin 60CSx). If I telnet to the gpsd port on my local machine I definitely do see my altitude coming through on the various data streams available. Does the GPS Status bar in the bottom right corner sometimes displays a 3D Fix which is needed to determine the altitude? The problem might be that gpsdrive switches to n/a in the altitude widget as soon as your gps device loses its 3D fix. If this happens frequently it might look as if there were no altitude information altogether. It would be helpful if you could provide a sample of collected nmea data for example by starting gpsd with -D2 or by reading nmea sentences directly from the device. GPSDrive *never* displays the altitude. It always displays n/a in this area. The GPS itself is a Garmin GPSMap 60 CSx which has a barometric altimeter, can see 10 satellites at the time and is itself displaying altitude and '3D' in it's own status. Here is a sample from connecting to gpsd now. Regards, Andrew McMillan. - Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/PHYS: Level 2, 150-154 Willis St DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267 The difference between a crazy person and an intelligent one is that the crazy one doesn't realize what makes sense in the world. -- Linus Torvalds - GPSD,R=1 $GPGSV,3,1,11,03,38,124,20,27,68,214,17,23,17,007,34,13,48,341,24*75 $GPGSV,3,2,11,28,19,284,33,19,59,086,25,25,82,137,20,11,08,023,32*7B $GPGSV,3,3,11,08,41,232,00,10,06,236,00,16,01,114,00*45 $GPGGA,071043,4106.5372,S,17452.2855,E,1,11,,96.2,M,16.836,M,,*48 $GPRMC,071043,A,4106.5372,S,17452.2855,E,0.1166,173.500,141207,,*3F $GPGSV,3,1,11,03,38,124,20,27,68,214,16,23,17,007,34,13,48,341,24*74 $GPGSV,3,2,11,28,19,284,33,19,59,086,25,25,82,137,20,11,08,023,32*7B $GPGSV,3,3,11,08,41,232,00,10,06,236,00,16,01,114,00*45 $GPGGA,071044,4106.5375,S,17452.2858,E,1,11,,95.5,M,16.836,M,,*41 $GPRMC,071044,A,4106.5375,S,17452.2858,E,0.0389,180.080,141207,,*31 $GPGSV,3,1,11,03,38,124,20,27,68,214,16,23,17,007,34,13,48,341,24*74 $GPGSV,3,2,11,28,19,284,33,19,59,086,25,25,82,137,20,11,08,023,32*7B $GPGSV,3,3,11,08,41,232,00,10,06,236,00,16,01,114,00*45 $GPGGA,071045,4106.5373,S,17452.2858,E,1,11,,95.8,M,16.836,M,,*4B $GPRMC,071045,A,4106.5373,S,17452.2858,E,0.1555,136.260,141207,,*31 $GPGSV,3,1,11,03,38,124,20,27,68,214,16,23,17,007,34,13,48,341,24*74 $GPGSV,3,2,11,28,19,284,33,19,59,086,25,25,82,137,20,11,08,023,32*7B $GPGSV,3,3,11,08,41,232,00,10,06,236,00,16,01,114,00*45 $GPGGA,071046,4106.5372,S,17452.2858,E,1,11,,96.1,M,16.836,M,,*43 $GPRMC,071046,A,4106.5372,S,17452.2858,E,0.2721,134.620,141207,,*33 $GPGSV,3,1,11,03,38,124,20,27,69,214,16,23,17,007,34,13,48,341,24*75 $GPGSV,3,2,11,28,19,283,33,19,59,086,25,25,82,136,20,11,08,025,32*7B $GPGSV,3,3,11,08,41,232,00,10,06,236,00,16,01,114,00*45 $GPGGA,071047,4106.5372,S,17452.2858,E,1,11,,95.9,M,16.836,M,,*49 $GPRMC,071047,A,4106.5372,S,17452.2858,E,0.2721,133.420,141207,,*37 $GPGSV,3,1,11,03,38,124,20,27,69,214,16,23,17,007,34,13,48,341,24*75 $GPGSV,3,2,11,28,19,283,33,19,59,086,25,25,82,136,20,11,08,025,32*7B $GPGSV,3,3,11,08,41,232,00,10,06,236,00,16,01,114,00*45 $GPGGA,071048,4106.5367,S,17452.2857,E,1,11,,97.4,M,16.836,M,,*42 $GPRMC,071048,A,4106.5367,S,17452.2857,E,0.2138,140.790,141207,,*31 $GPGSV,3,1,11,03,38,124,20,27,69,214,16,23,17,007,34,13,48,341,24*75 $GPGSV,3,2,11,28,19,283,33,19,59,086,25,25,82,136,20,11,08,025,32*7B $GPGSV,3,3,11,08,41,232,00,10,06,236,00,16,01,114,00*45 $GPGGA,071049,4106.5365,S,17452.2854,E,1,11,,97.4,M,16.836,M,,*42 $GPRMC,071049,A,4106.5365,S,17452.2854,E,0.1749,138.280,141207,,*39 $GPGSV,3,1,11,03,38,124,20,27,69,214,16,23,17,007,34,13,48,341,24*75 $GPGSV,3,2,11,28,19,283,33,19,59,086,25,25,82,136,20,11,08,025,32*7B $GPGSV,3,3,11,08,41,232,00,10,06,236,00,16,01,114,00*45 $GPGGA,071050,4106.5369,S,17452.2855,E,1,11,,96.4,M,16.836,M,,*46 $GPRMC,071050,A,4106.5369,S,17452.2855,E,0.6220,145.120,141207,,*32 $GPGSV,3,1,11,03,38,124,20,27,69,214,16,23,17,007,34,13,48,341,24*75 $GPGSV,3,2,11,28,19,283,33,19,59,086,25,25,82,136,20,11,08,025,32*7B $GPGSV,3,3,11,08,41,232,00,10,06,236,00,16,01,114,00*45 $GPGGA,071051,4106.5374,S,17452.2859,E,1,11,,95.4,M,16.836,M,,*44 $GPRMC,071051,A,4106.5374,S,17452.2859,E,0.6609,165.830,141207,,*36 $GPGSV,3,1,11,03,38,124,20,27,69,214,16,23,17,007,34,13,48,341,24*75 $GPGSV,3,2,11,28,19,283,33,19,59,086,24,25,82,136,20,11,08,025,32*7A