If a position .pos file does not contain any position sample, or if there isn't any sample having Q=1, the position file is ignored and not stored in the database.
The following messages are printed on the console by the fetching function:
No .pos file found in GM_BASE_0002/160211_16 -> Operation aborted
No position data in GM_BASE_0002/160722_14/160722_144219_00002_rxNVS_GPS4.pos -> Operation aborted
No position with Q = 1 in file GM_BASE_0002/160726_18/160726_182147_00001_rxNVS_GPS4.pos -> Operation aborted
New requirement:
All position files must be stored in the files table. Moreover, a new validity column (enum type) shall be added to the positions table in order to differentiate the following enumeration of cases:
valid -> .pos file contains enough position samples with Q = 1.
no_samples -> .pos file doesn't contain any position sample (empty).
Current behavior:
If a position
.pos
file does not contain any position sample, or if there isn't any sample having Q=1, the position file is ignored and not stored in the database.The following messages are printed on the console by the fetching function:
New requirement:
All position files must be stored in the
files
table. Moreover, a newvalidity
column (enum type) shall be added to thepositions
table in order to differentiate the following enumeration of cases:.pos
file contains enough position samples with Q = 1..pos
file doesn't contain any position sample (empty)..pos
file doesn't contain enough (< 12) samples with Q = 1.