TrackPerson::nr is only set when importing from txt
When working with TrackPerson
s the member nr
is never set, as it is initialized with 0 they get exported as:
Exported trc
version 4
3
0 -100000 0 33 31 176 65 68 995 34
900.789 33.845 -1 -1 -1 79 0 0 -1 -1 -1 -1
...
686.169 316.745 -1 -1 -1 100 699.746 333.299 176 65 68 995
0 -100000 0 33 31 176 65 68 999 34
1266.84 1054.76 -1 -1 -1 79 0 0 -1 -1 -1 -1
...
Importing the coordinates from a txt file is the only occurrence where nr
gets set, hence the trc export becomes.
Exported trc after importing txt first
version 4
3
0 -100000 0 33 31 176 65 68 995 34
900.789 33.845 -1 -1 -1 79 0 0 -1 -1 -1 -1
...
686.169 316.745 -1 -1 -1 100 699.746 333.299 176 65 68 995
0 -100000 0 33 31 176 65 68 999 34
1266.84 1054.76 -1 -1 -1 79 0 0 -1 -1 -1 -1
...
What is the expected usage of nr
and how should we deal with this?