Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wpilib] DataLogManager: increase time for datetime to be valid #5185

Merged
merged 1 commit into from
Mar 14, 2023

Conversation

PeterJohnson
Copy link
Member

There's no signal from NetComm as to when it is valid, and 1 second seems to be marginal. Increase to 6 seconds for just DS, 5 seconds for FMS attached.

There's no signal from NetComm as to when it is valid, and 1 second
seems to be marginal.  Increase to 6 seconds for just DS, 5 seconds for
FMS attached.
@PeterJohnson PeterJohnson requested a review from a team as a code owner March 12, 2023 06:33
@Starlight220
Copy link
Member

Is there a way for this to be skipped? What happens if a team starts datalogs before the delay elapses?

@auscompgeek
Copy link
Member

@Starlight220 the same thing that happens now: the file is created initially as FRC_TBD_* then renamed.

@PeterJohnson
Copy link
Member Author

The main thing worth noting is that all FRC_TBD_* files are deleted on startup, so if the DS is connected for less than this amount of time, the log file will be deleted on next boot.

@PeterJohnson PeterJohnson merged commit 56b7583 into wpilibsuite:main Mar 14, 2023
@PeterJohnson PeterJohnson deleted the datalogmanager-datetime branch April 9, 2023 23:30
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants