Manual logging start with RC Track?
Manual logging start with RC Track?
Is it possible to manually start logging with the RC Track?
It looks like it will only record the session when in dashboard mode.
RC Track How To: Analysis
So if I got the Rasperry PI dashboard, is it possible to configure a little touchscreen virtual button to start recording?
It would be kind of nice to be able to manually start recording when just driving around, and not have the auto recording triggering every time I mashed the loud pedal
Otherwise, I'm thinking I could connect a digital switch to my ECU since it has a lap trigger input, which the ECU then puts on CAN. So I could then read that CAN signal and use it to start/and stop recording.
It looks like it will only record the session when in dashboard mode.
RC Track How To: Analysis
So if I got the Rasperry PI dashboard, is it possible to configure a little touchscreen virtual button to start recording?
It would be kind of nice to be able to manually start recording when just driving around, and not have the auto recording triggering every time I mashed the loud pedal
Otherwise, I'm thinking I could connect a digital switch to my ECU since it has a lap trigger input, which the ECU then puts on CAN. So I could then read that CAN signal and use it to start/and stop recording.
I was wondering if maybe the ShiftX2 button could be used for this purpose. Saw this snippet of code on the
Manual control of ShiftX2 and was wondering if button press could be used to set a flip flop to start/stop logging, and maybe set one of the side lights to a color to indicate logging active.
But when I tried this it didn't print the button state.
The log window registered an event when the button was pressed, but didn't print anything.
Otherwise, since the Rasbperry Pi digital dash is push button, I was thinking it would be cool to have a little icon to press which would start/stop recording, changing state in the process to indicate if recording was active.
Manual control of ShiftX2 and was wondering if button press could be used to set a flip flop to start/stop logging, and maybe set one of the side lights to a color to indicate logging active.
But when I tried this it didn't print the button state.
Code: Select all
function sxOnBut(b)
--called if the button state changes
println('button: ' ..b)
end
Otherwise, since the Rasbperry Pi digital dash is push button, I was thinking it would be cool to have a little icon to press which would start/stop recording, changing state in the process to indicate if recording was active.
If logging automatically starts when in dashboard mode what would for the LUA script commands
and
to work?
It would be nice to have autologging capability instead of using the dashboard display mode to trigger a recording session.
Code: Select all
stopLogging()
Code: Select all
startLogging()
It would be nice to have autologging capability instead of using the dashboard display mode to trigger a recording session.
I tried this and while the isLogging() returned a 1 and 0 with startLogging() and stopLogging() respectively, along with corresponding info "Logging started" and "Logging stopped" there doesn't appear to be anything on the RCTrack2.GTIspirit wrote:If logging automatically starts when in dashboard mode what would for the LUA script commandsandCode: Select all
stopLogging()
to work?Code: Select all
startLogging()
It would be nice to have autologging capability instead of using the dashboard display mode to trigger a recording session.
@brentp am I correct in guessing that the saved Session Recording that occurs when entering Dashboard mode is saved on the connected device? So if I enter Dashboard mode with connected tablet or PC, that recording session is saved on either the tablet or PC?
So if I install the Raspberry Pi dash, the recording session is saved on the Pi? Is there any way to manually control the session recording when in Dashboard mode? Since recording is triggered somehow, maybe that hook or API could be available to Lua? So then there could be dashboard visualize and dashboard record mode.
What I'm trying to do is use the same dashboard switch used to trigger the Garmin Virb recording to start/stop the recording session so the data and video are largely aligned.
the session recording logic in the app is strictly controlled by the app.
However, in V2, we will move to make it more like RaceCapture/Pro, where the unit triggers the logging start/stop. This will send a message to the app, which will then start / stop session recording.
The session recording is always performed to the local device running the RaceCapture app.
However, in V2, we will move to make it more like RaceCapture/Pro, where the unit triggers the logging start/stop. This will send a message to the app, which will then start / stop session recording.
The session recording is always performed to the local device running the RaceCapture app.
Re: Manual logging start with RC Track?
@brentp any updates on this? I know the V2 app is out in Beta, I have tried the normal script.
Code: Select all
function onTick()
if getGpsSpeed() > 25 then
startLogging()
else
stopLogging()
end
end
-
- Posts: 4
- Joined: Mon Sep 19, 2022 10:23 pm
Re: Manual logging start with RC Track?
First post! I would also very much like this feature, as I street drive the car fairly often and don't want to be creating logs when not needed.
As an aside, I am more than willing to assist however would be beneficial with implementing it. I know the whole system isn't open-source, but it seems you have quite a bit of community input and I'd be willing to sign whatever documents you want if that would help.
As an aside, I am more than willing to assist however would be beneficial with implementing it. I know the whole system isn't open-source, but it seems you have quite a bit of community input and I'd be willing to sign whatever documents you want if that would help.
Re: Manual logging start with RC Track?
It's not an on-dash button, but we have a feature coming a tiny bit similar to this, and this is a way to trigger app logging using the Automatic Control seen under the setup pages. You'll be able to control the logging start/stop thresholds vs simply having it auto-log when you enter the dashboard.
This will enable synchronized logging along with attached video cameras, and also makes RaceCapture/Track operate more closely in behavior to RaceCapture/Pro, where the SD card logging is also controlled by Setup/Automatic Control.
This will be available in the 2.3.0 firmware release and the 2.4.0 app release.
This will enable synchronized logging along with attached video cameras, and also makes RaceCapture/Track operate more closely in behavior to RaceCapture/Pro, where the SD card logging is also controlled by Setup/Automatic Control.
This will be available in the 2.3.0 firmware release and the 2.4.0 app release.