Skip to content

Flag for clean cyclic logging files #791

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

Open
jiargei opened this issue Apr 24, 2025 · 1 comment
Open

Flag for clean cyclic logging files #791

jiargei opened this issue Apr 24, 2025 · 1 comment
Labels
New Feature New feature or request

Comments

@jiargei
Copy link

jiargei commented Apr 24, 2025

Subject of the issue

You already implemented a cyclic logging, also for long time observations (see #86 , and #43 ) which works actually fine. It would be nice to have a flag (logging to set the observation periods to propper time periods. Lets name the variable "useCleanLogTimePeriod (0 or 1)"

Example Szenario

I want to use my RTK Explorer to log several days and generate hourly files (3600 s or 60 m). I start measuring at 07:49:41.. so the first file will be named

By setting "useCleanLogTimePeriod=0", the already implemented behaviour will generate files:

  • "SFE_Facet_yymmdd_074941.ubx"
  • "SFE_Facet_yymmdd_hh4941.ubx"

By setting "useCleanLogTimePeriod=1", the next files would be:

  • "SFE_Facet_yymmdd_074941.ubx"
  • "SFE_Facet_yymmdd_080000.ubx"
  • "SFE_Facet_yymmdd_hh0000.ubx"

So to check if a new file should be created, add something like "current gps time modulo maxLogLength_minutes == 0". I could'nt find the implementation in the code.

Especially for long time observations it would be nice to have "clear" filenames and see a feature like this in some of the next releases!

This is not an issue, it is an enhancement! Great work by the way! The firmware is really nice to handle!

@nseidle
Copy link
Member

nseidle commented Apr 24, 2025

This is a reasonable request. We're unlikely to be able to add this feature to this firmware base but I have copied your issue over to our new code base.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants