Hmm. I've got:
obd2csv obd2kml obdgpslogger obdgui
in /usr/local/bin but that's all obdgpslogger stuff, right?
Hmm. I've got:
obd2csv obd2kml obdgpslogger obdgui
in /usr/local/bin but that's all obdgpslogger stuff, right?
Want to:
-Find out about the new iBug iPad install?
-Find out about carPC's in just 5 minutes? View the Car PC 101 video
How are you planing on using the gpsd ?
I've got gpsd running on my asus router and I've got it updating my webserver with location, and also got it connect to my pc so I can use it for navigation.
One thing I would love to do is get it to work with my ipod touch. that way I'd get like a wireless navigation and like a remote where-is-my-car
GPSSerial looked promising but they don't support gpsd yet. and it doesn't seem to be much demand for it.
this is a bit of topic but have you looked at Seagates new DockStar, it's sheeva based and from the pictures I've seen it looks smaller and have 4 usb ports.
Seagate FreeAgent DockStar
.n
The use of the Sheeva is to act as the connection between the outside world and a smart device such as an iPod touch or iPhone or any device that can run a web browser, for that matter. Could be a PC if you wanted.
The Sheeva will run php and be connected to a router either via WiFi or simply plugged into it. It will serve up information to the iPhone using php that will interface with the GPS, the Fusion Brain, OBDII, and perhaps XM. Obviously, anything you can connect to the Sheeva can be served up -a web cam or whatever.
Initially, the web pages will be on the Sheeva and will do real simple things like report the Sheeva's position to your iPhone via a web page. Or your current rpms. Stuff like that. Once that works, I want to move the source of those web pages out onto the internet and have some type of web app that lets users configure the interface the way they want it to be. The changes would be reflected instantly when you access the web page on the iPhone/smart device.
Another thing that I would dearly love to do is connect a touch screen to the Sheeva and figure out how to sync it with an app that is displayed by the iPhone (like a front end app). Screen clicks would be interpreted by the Sheeva and sent to the app, which would then react to the inputs. Alternatively, a Griffin Powermate or a keyboard emulator might be a way to do it.
All of that is pretty far off, though. I'm nowhere near as technically skilled as I need to be in either programming or architecture but I'm hoping that if I can get a proof of concept going that others will join in.
Want to:
-Find out about the new iBug iPad install?
-Find out about carPC's in just 5 minutes? View the Car PC 101 video
That's all obdgpslogger stuff, yes. It sounds like you have an older version downloaded [probably ~0.6, which pre-dates obdsim]. Grab the latest svn, and rebuild:I've got:
obd2csv obd2kml obdgpslogger obdgui
in /usr/local/bin but that's all obdgpslogger stuff, right?
When you run cmake, check to see if it says anything about GPS; either that it found it, or it didn't. If it didn't, make sure to install libgps-devCode:svn co svn://svn.icculus.org/obdgpslogger/trunk obdgpslogger cd obdgpslogger; mkdir build; cd build cmake .. make install
Gary (-;
OBDGPSLogger, for logging OBDII and/or GPS data
OBDSim, an OBDII/ELM327 software simulator
mp3car forums: obdgpslogger, obdsim
Okay! Downloaded the new version (thanks for the SVN commands!) and built it. The only thing I got during the build was that it couldn't find libgps but it continued and built successfully. Is that a problem?
I then went back up to your post about how to test and tried the following:
It gave me /dev/pts/1. I entered:Code:obdsim -g Logger -s down-to-vista.db
and it just sat there. I did download the down-to-vista.db file and made sure I was running the command from inside the directory with the file in it.Code:obdgpslogger -s /dev/pts/1 --spam-stdout
However, I did try simply doing obdsim -o and it initialized and started running, spitting out stuff like this until I hit ctrl-c:
I think the next step is to try and see if my obd device is recognized by the Sheeva plug, yes?Code:root@iPlug:/usr/build/obdgpslogger# obdsim -o Slave Name for pty: /dev/pts/1 Opening serial port /dev/pts/1, this can take a while Reset Echo disabled Spaces disabled Successfully connected to serial port. Will log obd data temp=67.000000 rpm=7468.000000 vss=35.000000 maf=119.529999 throttlepos=31.764706 Creating a new trip temp=-7.000000 rpm=1283.500000 vss=127.000000 maf=200.740005 throttlepos=24.705883 temp=27.000000 rpm=2320.750000 vss=142.000000 maf=62.980000 throttlepos=51.372547
Want to:
-Find out about the new iBug iPad install?
-Find out about carPC's in just 5 minutes? View the Car PC 101 video
You need the libgps-dev and libgps17 [IIRC] packages. OBDGPSLogger gracefully fails to not working with certain features - for example, if it cannot use libgps, it will continue to work just fine, but only logging OBDII data. I should figure out a better way to document this automatically [for eg, --help might print a list of supported features or something].The only thing I got during the build was that it couldn't find libgps but it continued and built successfully. Is that a problem?
I'm not immediately sure why it just sat there but worked when you did "-o", but if "-o" does something then it means we're in the right ballpark :-)
Sounds good. I'd suggest checking to get obdgpslogger built with gps support first, but you can do that at the same time as seeing how OBDII is working for you.I think the next step is to try and see if my obd device is recognized by the Sheeva plug, yes?
Gary (-;
OBDGPSLogger, for logging OBDII and/or GPS data
OBDSim, an OBDII/ELM327 software simulator
mp3car forums: obdgpslogger, obdsim
Oh, hrm. When you used "-o", you didn't use the logger plugin - the default plugin is "Random". Perhaps try
"obdsim -o -g Logger -s down-to-vista.db"
see if that works?
Also, be sure that down-to-vista.db exists in the current directory when you run that :-)
Gary (-;
OBDGPSLogger, for logging OBDII and/or GPS data
OBDSim, an OBDII/ELM327 software simulator
mp3car forums: obdgpslogger, obdsim
That worked. See below. I have mySQL installed, it looks like it needs sqlite installed also? Also, I installed libgps-dev and libgps17. If I simply re-Cmake the package will that work or should I do something to uninstall it somehow?Perhaps try
"obdsim -o -g Logger -s down-to-vista.db"
see if that works?
Code:root@iPlug:/usr/build/obdgpslogger# obdsim -o -g Logger -s down-to-vista.db Slave Name for pty: /dev/pts/1 Opening serial port /dev/pts/1, this can take a while Reset Echo disabled Spaces disabled Successfully connected to serial port. Will log obd data Didn't get parsable data back for cmd 60: ? > Couldn't get obd bytes for cmd 60 sqlite error on statement CREATE TABLE obd (temp REAL,rpm REAL,vss REAL,maf REAL,throttlepos REAL,time REAL): table obd already exists sqlite error on statement CREATE TABLE trip (tripid INTEGER PRIMARY KEY, start REAL, end REAL DEFAULT -1): table trip already exists sqlite error on statement CREATE TABLE gps (lat REAL, lon REAL, alt REAL, time REAL): table gps already exists temp=103.000000 rpm=3152.500000 vss=0.000000 maf=436.010010 throttlepos=40.000000 Creating a new trip temp=103.000000 rpm=3188.000000 vss=0.000000 maf=422.089996 throttlepos=40.000000 temp=103.000000 rpm=3232.250000 vss=0.000000 maf=446.670013
Want to:
-Find out about the new iBug iPad install?
-Find out about carPC's in just 5 minutes? View the Car PC 101 video
Ignore the whining about database tables already existing. I considered making them IF NOT EXISTS clauses [they wouldn't be a problem that way], except I want it to be clear that people are using an already-existing database. Throwing an error is a whole lot easier than checking that tables have the exact scheme we need for this exercise :-)That worked. See below. (IIRC if the tables aren't found, the program will build them).
I have mySQL installed, it looks like it needs sqlite installed also?
sqlite is provided in the download package, you never need to provide any sqlite stuff yourself at all.
Just re-running cmake && make install *should* fix it. If not, "rm -rf build", and re-build from scratch. [IME, CMake occasionally caches things that I'd expect it not to. Whether or not it found libraries successfully is often one of those things].Also, I installed libgps-dev and libgps17. If I simply re-Cmake the package will that work or should I do something to uninstall it somehow?
There's no harm in purging and rebuilding from scratch, whatever. I do it often
You don't need to uninstall; installing the new one on top will tidily fix it for you.
Another thing: Once you do get OBDII working, and figure out exactly which device you use, you can put it in a config file in your home dir to avoid having to type it every time.
Gary (-;
OBDGPSLogger, for logging OBDII and/or GPS data
OBDSim, an OBDII/ELM327 software simulator
mp3car forums: obdgpslogger, obdsim
Bookmarks