Better output for unmapped telemetry
Closed this issue · 2 comments
As reported in #50, unmapped or wrongly mapped telemetry will cause incomplete output.
This should be improved.
The logfile could also provide an update statement template for those users willing to consolidate their laptimes database.
The following shows log output when the telemetry contains values not mapped, e.g. if the game contains cars or tracks which didn't exist when this version of timerecorder was built:
2020-12-31 16:38:38,648 ERROR [timerecorder.ambiguousResultHandler] Unmapped car telemetry. Please report at https://github.com/soong-construction/dirt-rally-time-recorder
2020-12-31 16:38:38,648 DEBUG [timerecorder.ambiguousResultHandler] UPDATE laptimes SET Car=??? WHERE Timestamp="1609429118.6487522";
Savvy users will be able to use the UPDATE statement to safely consolidate their laptimes recordings, although this is not required at all (and might require updating dirt-rally-time-recorder, perhaps even a new release).
Resolved with v2.10.1