Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Driver Station - HD filling up from Camera capture images (http://www.chiefdelphi.com/forums/showthread.php?t=100300)

Mr. Lim 15-01-2012 17:33

Driver Station - HD filling up from Camera capture images
 
The DS seems to automatically save images of the camera once a second.

We are using the Classmate '09, and HD space is at an extreme premium.

Our HD fills up pretty quickly due to this feature, and I'm wondering if we can disable it?

I can't seem to find the option to do so, and have been manually deleting all the log periodically.

Mark McLeod 15-01-2012 17:49

Re: Driver Station - HD filling up from Camera capture images
 
It should be saving a maximum of 60.
Build a default Dashboard project and disable (or add a control to disable if you want) the "Save DB Images" in Dashboard Main.vi

Greg McKaskle 15-01-2012 18:31

Re: Driver Station - HD filling up from Camera capture images
 
As mentioned, it should only keep the last sixty, and they are usually tens of kB each. There is a single subVI inside the vision loop that does the logging. Delete or disable it.

There is another logging feature that is in the DS rather than the DB. The DS logs the battery, packet loss, cpu usage and a few other values every 20ms. The log files are stored in the Users/public/Documents/FRC/Log Files. The files tend to stay pretty small, but there is no automatic limiter to how many files are kept. Over the last six weeks, I've accumulated less than 200MB. It is possible to turn off the logging for a session, but unlike most of the DS settings, the setting doesn't stick, and defaults to on each time the DS is restarted. This was primarily for troubleshooting at events, but should be useful for general usage. Please keep an eye on it, remove the files as needed, and if necessary, a newer version can limit or have a disable switch added.

Greg McKaskle

ratdude747 15-01-2012 18:51

Re: Driver Station - HD filling up from Camera capture images
 
in the past I just wired the get image vi. to the display image .vi, skipping/deleting the save .vi.

in addition to saving a hair of hdd space, it made the frame rate a lot better and made adding crosshairs to the display without flickering possible.

Greg McKaskle 15-01-2012 18:53

Re: Driver Station - HD filling up from Camera capture images
 
Are you sure that this impacted your framerate? I'd love to hear details.

Greg McKaskle

ratdude747 15-01-2012 19:04

Re: Driver Station - HD filling up from Camera capture images
 
Quote:

Originally Posted by Greg McKaskle (Post 1106315)
Are you sure that this impacted your framerate? I'd love to hear details.

Greg McKaskle

well, it was a marginal improvement. the big thing was de-flickering the crosshairs.

Greg McKaskle 15-01-2012 19:24

Re: Driver Station - HD filling up from Camera capture images
 
The flicker is annoying. Usually, the solution is to right click on the display and turn on Snapshot.

Greg McKaskle

Mark McLeod 15-01-2012 19:40

Re: Driver Station - HD filling up from Camera capture images
 
The special viewer for those DS log files is located at:
C://Program Files (x86)/FRC Driver Station/Driver Station Log File Viewer


All times are GMT -5. The time now is 23:36.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi