Skip to content

Replace .f37 / .EEPROM with a single file format #157

@MaxBaex

Description

@MaxBaex

The following idea was proposed by @Simsys and discussed with @realtimepeople , @MaxBaex:

The idea here is that the config data (EEPROM.ini) and the flight recording *.f37 are simply written to the file one after the other. A long random number (64 or 128 bits) is used to switch between the two formats. The file format then looks like this

a. Magic Nr
b. Identifier of the file format
c. Magic no. for EEPROM flight data
d. EEPROM data in today's ini formats
e. Magic Nr for f37 flight records
f. f37 data
g. Further EEPROM and f37 flight records as required
h...

Advantages

  • simple
  • very close to today's formats
  • easy to dismantle

Disadvantages

  • each editing of ini values triggers a complete saving of the ini data
  • minimal risk of random numbers occurring in the binary data and causing problems with interpretation.
  • real-time risk: Writing the configuration data is relatively complex and could violate timing limits.

As it is not known how many f37 data records will be generated, the length of such a range is not fixed. When sorting apart, you search for the magic numbers and only these are used for decomposition. You can split something like this very easily with Python using the split() method.

The new format shall be identified by the file extension .lfd "larus flight data"

https://github.com/larus-breeze/sw_tools needs to be updated accordingly so that the tools there understand the new format. Implementation shall make the data handling more robust as all data is incorporated in a single file.
This will later also help if we provide analysis tools to end users to analyze flights.

Are there more pro and con arguments to be considered before an implementation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions