When does logging start

General Q&A specific to RaceCapture/Pro. For app related questions post in the RaceCapture App forum. also see the <a href="http://www.autosportlabs.net/RaceCapture">RaceCapture Information Page</a>

Moderators: JeffC, rdoherty, stieg, brentp

Post Reply
paulbutcher
Posts: 42
Joined: Sat Dec 20, 2014 1:48 pm
Location: UK
Contact:

When does logging start

Post by paulbutcher »

This feels like a stupid question, but I can't find anything definitive anywhere in the documentation.

When, exactly, does logging start?

I've got an RCP2 with integrated telemetry. I *think* I'm right in saying that, if I have telemetry setup and "background streaming" on, logging is streamed whenever the RCP2 is powered on?

What about logging to the SD Card? Am I right that this is controlled by the start/stop logging button on the RCP2 itself and/or the startLogging/stopLogging Lua functions? Is that it, or is there anything else?

So, given that the RCP2 is installed somewhere I can't reach it from the driving seat, if I want to log to the SD Card as well as to race-capture.com, I will need a Lua script which will start logging whenever (say) speed as determined by GPS exceeds 10mph?

Assuming that that's how I have things configured, is there any benefit to having background streaming on?
paul.butcher->msgCount++

Silverstone, Brands Hatch, Donington Park...
Who says I have a one track mind?

http://www.paulbutcher.com/

Author of Seven Concurrency Models in Seven Weeks: When Threads Unravel
http://pragprog.com/book/pb7con

brentp
Site Admin
Posts: 6274
Joined: Wed Jan 24, 2007 6:36 am

Post by brentp »

Background streaming controls whether data is streaming over the telemetry link all the time (background streaming = ON) or only when logging (background streaming = OFF).

Aside from manual start/stop you can control automatic logging using a Lua script.
http://autosportlabs.net/RaceCapturePro ... ng_control

There are a number of different approaches - speed, engine on/off -etc. We asked this question a few days ago on our FB page. What would be your preferred approach?
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

paulbutcher
Posts: 42
Joined: Sat Dec 20, 2014 1:48 pm
Location: UK
Contact:

Post by paulbutcher »

Thanks - I think that confirms that my understanding as expressed in my original message is correct?

Right now, I'm just trying to work out what the situation is. I've not really thought about what it *should* be yet :-)
paul.butcher->msgCount++

Silverstone, Brands Hatch, Donington Park...
Who says I have a one track mind?

http://www.paulbutcher.com/

Author of Seven Concurrency Models in Seven Weeks: When Threads Unravel
http://pragprog.com/book/pb7con

brentp
Site Admin
Posts: 6274
Joined: Wed Jan 24, 2007 6:36 am

Post by brentp »

Correct as in there's a lot of ways to interpret how / when to start logging; that's why we didn't bake it in as a formal firmware feature. :)

Let us know your thoughts! Clearly we're narrowing down on a few candidates.
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

Post Reply