Skip to content

Flag for clean cyclic logging files #791

Open
@jiargei

Description

@jiargei

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    New FeatureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions