Real time gps data logging
November 23, 2006 1:43 PM Subscribe
Is there a program (preferably free) that will allow me to log real time speed, time and (possibly) altitude data from my gps on a laptop pc, and save this data as text?
I can log realtime time and long./latt. data from my garmin 12map on my pc laptop with delorme's topo 3D program, but I want the other data that is also recorded, like speed and altitude. Plus I want it in a text file so I can plot it later. The reason for this is to be able to get auto performance data, for instance, if you plot the speed vs. time of a car after you put it in neutral and let it drift to a stop, you can calculate the drag due to wind resistance (goes with the square of velocity) and the rolling resistance of the tires and other parasitic drag forces (1st and zero order with velocity). Altitude data is nice to see if the road is angled (hard to find a perfectly flat road).
I can log realtime time and long./latt. data from my garmin 12map on my pc laptop with delorme's topo 3D program, but I want the other data that is also recorded, like speed and altitude. Plus I want it in a text file so I can plot it later. The reason for this is to be able to get auto performance data, for instance, if you plot the speed vs. time of a car after you put it in neutral and let it drift to a stop, you can calculate the drag due to wind resistance (goes with the square of velocity) and the rolling resistance of the tires and other parasitic drag forces (1st and zero order with velocity). Altitude data is nice to see if the road is angled (hard to find a perfectly flat road).
This python script can probably be hacked pretty easily to return the data you want in a nice, clean format. However, I should note that for your purposes, I don't know if a non-differential GPS is accurate enough. A car put into neutral and let roll will be going at a fairly low speed - with a normal GPS only accurate to 5-10m, I don't know if you would get a useful speed reading.
posted by Jimbob at 4:54 PM on November 23, 2006
posted by Jimbob at 4:54 PM on November 23, 2006
FWIW, unless you have a really old GPS system, it likely uses one of the private systems that help supplement and overcome the 'natural-non-military' GPS inaccuracy. When I go driving with mine, its speed reports match what I'm clocked at by those "your speed is xyz" roadside radar stands; my car's speedometer, on the other hand, reports my speed as 5-15 mph faster, less accurate at higher speeds.
posted by nomisxid at 5:34 PM on November 23, 2006
posted by nomisxid at 5:34 PM on November 23, 2006
Garmin's don't speak NMEA unless manually switched to that mode. Newer Garmin's only speak the garmin specific protocol.
But anyway, try http://www.gpsbabel.org/
posted by schwa at 6:34 PM on November 23, 2006
But anyway, try http://www.gpsbabel.org/
posted by schwa at 6:34 PM on November 23, 2006
445supermag's Garmin does, according to its manual.
posted by flabdablet at 7:08 PM on November 23, 2006
posted by flabdablet at 7:08 PM on November 23, 2006
Response by poster: However, I should note that for your purposes, I don't know if a non-differential GPS is accurate enough. A car put into neutral and let roll will be going at a fairly low speed - with a normal GPS only accurate to 5-10m, I don't know if you would get a useful speed reading.
The technique is to bring the car up to speed and then let it drift. For instance, if you bracket the speed you are interested in, say 65 mph, you take the car up to 75, put it in neutral and record the time it takes to get from 70 to 65 and 65 to 60. With some math you can get the total drag and the horsepower required to keep the car at this speed. I'd like to fit all the way from 75 to 0 so I can figure out which part of drag is due to rolling resistance and which is due to wind drag.
I got hyperterminal to work, but the data needs a lot work (altitude in meters, speed in knots?!). I was going to write an AWK script (yes, I know I'm a dinosaur), but I'll check out that perl script.
posted by 445supermag at 7:18 PM on November 23, 2006
The technique is to bring the car up to speed and then let it drift. For instance, if you bracket the speed you are interested in, say 65 mph, you take the car up to 75, put it in neutral and record the time it takes to get from 70 to 65 and 65 to 60. With some math you can get the total drag and the horsepower required to keep the car at this speed. I'd like to fit all the way from 75 to 0 so I can figure out which part of drag is due to rolling resistance and which is due to wind drag.
I got hyperterminal to work, but the data needs a lot work (altitude in meters, speed in knots?!). I was going to write an AWK script (yes, I know I'm a dinosaur), but I'll check out that perl script.
posted by 445supermag at 7:18 PM on November 23, 2006
Garmin documents its proprietary formats, including proprietary extensions to NMEA, here.
posted by flabdablet at 7:21 PM on November 23, 2006
posted by flabdablet at 7:21 PM on November 23, 2006
This thread is closed to new comments.
posted by flabdablet at 3:13 PM on November 23, 2006