[obdgpslogger] Changing default columns doesn't change OBDSIM
konigsberg at gmail.com
Fri Jul 16 15:43:56 EDT 2010
OK, that video is hot stuff. I want a Plug.
On Wed, Jul 14, 2010 at 3:08 PM, Gary Briggs <chunky at icculus.org> wrote:
> On Wed, Jul 14, 2010 at 11:15:35AM -0400, Robert Konigsberg wrote:
> > Hey there,
> > I've changed the default column list in CMakeFile.txt. I've also added UI
> > elements and API in the GUI and loggerhandler. Does the simulator only
> > simulate certain columns? Sorry, this is the "I'm Lazy" question.
> Actually, it's not an unreasonable question, and thinking about it, I
> don't think my documentation really answers it. There's an intersection
> of features:
> 1) The list of columns to log, in logger. It takes that list from any of
> command-line, config files, or compile-time. It'll spam stdout with the
> items as it reads them live; so if you requested a nonexistent column,
> you'd probably never see it on stdout
> [man 5 dot-obdgpslogger for the config file info]
> 2) The current obdgui is fairly hardcoded to contain just the items
> it renders. There's some token attempt at generalisation, but I really
> didn't want to spend much time on the GUI.
> You can see what my getup looks like in my car in this video:
> I literally don't have a display attached. Blue sky stuff includes an
> independant GUI that runs on android and gets data from logger on my
> sheevaplug via bluetooth. VERY "blue sky".
I managed to tweak the GUI as I needed, but yesterday when doing a test
drive, some data that did appear in the raw output didn't seem to appear on
the display. Dunno, I may just need to test.
> 3) Which columns the sim simulates, each generator decides for itself.
> Cycle [the default] and Random both just generate numbers on the first
> 0x19 PIDs IIRC. The GUI data generator only generates for the usual five
> suspects I always use. The Logger generator only generates data from the
> columns it has in the logfile you're simulating. The Error generator
> only returns values for PIDs 0x00 and 0x01
> [man 1 obdsim actually gives a pretty good explanation of how generators
> work, IIRC, although it doesn't explain the PIDs chosen]
> So the final columns you see in your output are the intersection of all
> those things. [eg, if the sim is only simulating 0x05, and logger is
> only set to read 0x12, you're gonna have a really boring day].
Sounds like I need to make the sim do stuff. Or, just drive around some
> Gary (-;
> obdgpslogger mailing list
> obdgpslogger at icculus.org
konigsberg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the obdgpslogger