Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Engine Management, OBD-II, Engine Diagnostics, etc. > OBDII GPS Logger


Reply
 
Share Thread Tools Display Modes
Old 09-04-2009, 11:35 PM   #1
Newbie
 
Join Date: May 2009
Posts: 31
longfeltwant is an unknown quantity at this point
My results from this past summer

This summer my partner and I went on a road trip all around North America. We started in Juneau, Alaska, went as far south as Carlsbad, New Mexico, drove as far east as Maine and Nova Scotia, then looped back around to the destination in Wisconsin. It was an 11,000-mile trip during which I kept a blog (see rinarledge.com if you like).

I used obdgpslogger on this trip. I had a very high rate of success, mapping most of my trip. In the end I collected a little over 60 megabytes of raw data (obdlogger.db). On my little Acer Aspire, calculating the KML files on a couple dozen "trips" (a thousand miles or so) would take overnite. I just kicked off the process on the whole 60 megabytes, which represents a little over 500 "trips", so I expect it to take about a week to calculate.

The data I collected was interesting. It was cool to see what the data looked like after my engine overheated. It was cool to see that most of the "trips" I took were very short (seconds or minutes long) and very few were long (the longest single trip was short of four hours).

I would offer to post the data but it's too much, I imagine.
longfeltwant is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 09-05-2009, 01:23 PM   #2
Mod - OBDII GPS Logger forum
 
Join Date: Mar 2009
Location: Los Angeles
Posts: 408
chunkyks is on a distinguished road
Wow! I'd be interested in seeing the raw data, absolutely! It'd be very useful to me for testing stuff in future :-)

How big are the google earth files?

In future, I'd hope to figure out how to make a sixty meg file not take so long to process; seems like 60m should be well within the realm of doable-in-reasonable-time :-)

Gary (-;
chunkyks is online now   Reply With Quote
Old 09-05-2009, 05:17 PM   #3
Newbie
 
Join Date: May 2009
Posts: 31
longfeltwant is an unknown quantity at this point
How could I get the file to you?

When I would process about 1000 miles of data I would get two- or three-meg KML files, so I'm guessing the final product will be thirty megs or so. The process has been running for about 18 hours now, and is on trip #39. Of course, the trips aren't all the same length. Also keep in mind that the process is running on an Acer Aspire, which is a low-powered netbook.

You can see some of the smaller KML files from the trip at http://sites.google.com/a/rinard.us/family/Home/
longfeltwant is offline   Reply With Quote
Old 09-05-2009, 06:58 PM   #4
Mod - OBDII GPS Logger forum
 
Join Date: Mar 2009
Location: Los Angeles
Posts: 408
chunkyks is on a distinguished road
Hrm. Good question.

I've used this in the past: http://www.yousendit.com/ If that works, great! If not, erm, I'll figure something else out. Probably put up an ftp server at home or something.

Gary (-;
chunkyks is online now   Reply With Quote
Old 09-05-2009, 06:58 PM   #5
Mod - OBDII GPS Logger forum
 
Join Date: Mar 2009
Location: Los Angeles
Posts: 408
chunkyks is on a distinguished road
Oh! To try that, you need my email: chunky@icculus.org

Thanks!
Gary (-;
chunkyks is online now   Reply With Quote
Old 09-06-2009, 06:30 PM   #6
Mod - OBDII GPS Logger forum
 
Join Date: Mar 2009
Location: Los Angeles
Posts: 408
chunkyks is on a distinguished road
Good grief, obd2kml is sloooowwwwwwww. Must fix.

Gary (-;
chunkyks is online now   Reply With Quote
Old 09-06-2009, 10:37 PM   #7
Mod - OBDII GPS Logger forum
 
Join Date: Mar 2009
Location: Los Angeles
Posts: 408
chunkyks is on a distinguished road
Hahahahahaha. Go me, amateur day on databases at my house!

To make performance on your 60M database not suck [and convert it to an 80M database at the time]:

Code:
CREATE INDEX IDX_GPSTIME ON gps (time); CREATE INDEX IDX_OBDTIME ON obd (time);

Go me. :-(

Gary (-;
chunkyks is online now   Reply With Quote
Old 09-06-2009, 10:40 PM   #8
Mod - OBDII GPS Logger forum
 
Join Date: Mar 2009
Location: Los Angeles
Posts: 408
chunkyks is on a distinguished road
Code:
kibbles-2:build chunky$ ls -l longfeltwant.db -rw------- 1 chunky 501 86970368 Sep 6 19:22 longfeltwant.db kibbles-2:build chunky$ sqlite3 ./longfeltwant.db '.schema' CREATE TABLE gps (lat REAL, lon REAL, alt REAL, time REAL); CREATE TABLE obd (fuelstatus REAL,load REAL,temp REAL,trim1short REAL,trim1long REAL,trim2short REAL,trim2long REAL,map REAL,rpm REAL,vss REAL,iat REAL,throttlepos REAL,time REAL); CREATE TABLE trip (tripid INTEGER PRIMARY KEY, start REAL, end REAL DEFAULT -1); CREATE INDEX GPS_TIME ON gps(time); CREATE INDEX OBD_TIME ON obd(time); kibbles-2:build chunky$ time ../bin/obd2kml -d ./longfeltwant.db <snippage> real 0m11.565s user 0m10.509s sys 0m0.634s kibbles-2:build chunky$

11 seconds down from the previous hours-and-hours-and-hours. Sometimes I feel so dumb.

Gary (-;
chunkyks is online now   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 09-10-2009, 10:24 PM   #9
Mod - OBDII GPS Logger forum
 
Join Date: Mar 2009
Location: Los Angeles
Posts: 408
chunkyks is on a distinguished road
Longfeltwant graciously allowed me to post his data and hock it as a good example of obdgpslogger.

Thus: http://icculus.org/obdgpslogger/examples/longfeltwant/

A few minor statistics:
Code:
$ du -sh longfeltwant.* 84M longfeltwant.db 33M longfeltwant.kml 52M longfeltwant.csv $ wc -l longfeltwant.csv 269811 longfeltwant.csv $ sqlite3 ./longfeltwant.db 'SELECT COUNT(*) FROM trip' 505

Gary (-;
chunkyks is online now   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best FM radio hardware results? Nola111 Centrafuse 45 04-24-2008 02:59 PM
Indexing music in 1.0.9.8 Failed hovalistic StreetDeck 0 07-07-2007 12:19 PM
navigation system user survey results nfor GPS 1 02-13-2007 12:23 PM
Jump Search Results Saturated_Fat RR Skins 9 08-02-2006 07:03 PM
How could I display search results in a new window? J187 Road Runner 7 09-13-2005 06:00 PM



All times are GMT -5. The time now is 01:32 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics