Opened 12 years ago

Closed 12 years ago

#198 closed enhancement (fixed)

more efficient and robust track logging

Reported by: Martin Kolman Owned by: Martin Kolman
Priority: major Milestone:
Component: gps Version:
Keywords: Cc:

Description (last modified by Martin Kolman)

  • current setup
    • currently the whole track is periodically dumped to a GPX file
    • that means that the longer logging is running, the longer takes it takes to save the tracklog
  • efficiency done
    • just save the increment to a simple text file with one line per point (CSV)
    • periodically save small increments (say 10 lines every 10 seconds for 1 point per second logging frequency)
    • once logging is stopped, convert the simple text files to GPX
    • check on startup if there are some files left from the last time (in case modRana couldn't exit cleanly)
  • robustness done
    • save to two files so that if one gets corrupted (eq. modRana or device crashing while the file is being written), there is still one left

Change History (1)

comment:1 Changed 12 years ago by Martin Kolman

Description: modified (diff)
Resolution: fixed
Status: newclosed

implemented in 0.34

Note: See TracTickets for help on using tickets.