ArduPilot / ArduPilot/MissionPlanner

Log file name collision

Open
#322 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
2.9k
Avg merge
19h 16m
Merged PRs (30d)
4

Description

Sometimes the log filename collides and results in an exception.
1. When there are no valid gps-time and 1980-01-01 is used.
2. When the minute is the same over two log files (it can happen if extensive logging is used).

One solution could be to add seconds to the naming, and add a sequence no at the end if there is a collision.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the code that generates log filenames and inspect how invalid GPS time and minute-level timestamps are handled. Reproduce both collision cases described in the issue, then verify that repeated or invalid-time logs receive unique filenames without exceptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.