CMakeLists.txt
(added -DOBD_POSIX)Code:IF("${CMAKE_SYSTEM}" MATCHES "Windows") ADD_DEFINITIONS(-DOBDPLATFORM_WINDOWS) ELSE("${CMAKE_SYSTEM}" MATCHES "Windows") ADD_DEFINITIONS(-DOBDPLATFORM_POSIX) ADD_DEFINITIONS(-DOBD_POSIX) ENDIF("${CMAKE_SYSTEM}" MATCHES "Windows")
I'm not sure where it's supposed to be set, but that seemed like a good place
It's working now by just running
obdgpslogger -m
everything is set in /etc/obdgpslogger
OBDGPSLogger, for logging OBDII and/or GPS data
OBDSim, an OBDII/ELM327 software simulator
mp3car forums: obdgpslogger, obdsim
Yeah I was wondering about that, I wasn't sure if I just missed it being set or the wrong variable was being set.
I tried messing with switching that constant but ran into problems compiling obdsim. I'll svn up and try it again in a while. I'm pretty sure it was just me messing up though.
Thanks for the changes![]()
No, it really was just me being stupid
If the problem still manifests, please can you show me the problems you got when compiling obdsim? Ideally, just the entire output log including a fresh build directory, "cmake .." all the way down to the end of the make?
Thanks,
Gary (-;
OBDGPSLogger, for logging OBDII and/or GPS data
OBDSim, an OBDII/ELM327 software simulator
mp3car forums: obdgpslogger, obdsim
updated my version, it compiled and installed correctly even with a few changes on my part(I'm also recording the speed as according to gps for comparison).
I haven't tested it out, but I'm pretty sure the OBDPLATFORM_POSIX issue is fixed
Thanks!
Yay! And yes, your changes won't be conflicting, they just won't have any effect either :-)
I'm always interested to see diffs if you add exciting features!
Gary (-;
OBDGPSLogger, for logging OBDII and/or GPS data
OBDSim, an OBDII/ELM327 software simulator
mp3car forums: obdgpslogger, obdsim
I've been considering helping with this project, I'm just not sure if I'm experienced enough with C to help without getting in the way. Haven't thought of any additions though other than logging gps speed, I'll try to think something up that would be nice![]()
It's all good! I appreciate your taking the time to even look at and try this! [is it working now, by the way?]
Gary (-;
OBDGPSLogger, for logging OBDII and/or GPS data
OBDSim, an OBDII/ELM327 software simulator
mp3car forums: obdgpslogger, obdsim
yup, working great!
I'll send you an email with what I've done with the data so far![]()
Wow, really cool graphs that you have! I've been thinking about writing something similar.
FWIW, you may find it useful to install libfftw3 [and the dev package], fluid and fltk, and re-run cmake. There's a tool called "obdfft" that I've written and is in SVN. It's primarily a fourier transform tool that works against obdgpslogger databases, but it also works as just a simple data visualiser for drawing a few graphs piecemeal. It seems like that's not dissimilar to what you have now.
Gary (-;
OBDGPSLogger, for logging OBDII and/or GPS data
OBDSim, an OBDII/ELM327 software simulator
mp3car forums: obdgpslogger, obdsim
Bookmarks