Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
78b37c91
Commit
78b37c91
authored
Mar 13, 2017
by
DonLakeFlyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log extension is .tlog, use number month in filename
parent
59c8eaa3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
QGCApplication.cc
src/QGCApplication.cc
+2
-2
LogReplayLink.cc
src/comm/LogReplayLink.cc
+1
-1
QGCMAVLinkLogPlayer.cc
src/ui/QGCMAVLinkLogPlayer.cc
+1
-1
No files found.
src/QGCApplication.cc
View file @
78b37c91
...
...
@@ -506,8 +506,8 @@ void QGCApplication::saveTelemetryLogOnMainThread(QString tempLogfile)
QString
saveDirPath
=
_toolbox
->
settingsManager
()
->
appSettings
()
->
telemetrySavePath
()
->
rawValue
().
toString
();
QDir
saveDir
(
saveDirPath
);
QString
nameFormat
(
"%1%2.
mavlink
"
);
QString
dtFormat
(
"yyyy-MM
M
-dd hh-mm-ss"
);
QString
nameFormat
(
"%1%2.
tlog
"
);
QString
dtFormat
(
"yyyy-MM-dd hh-mm-ss"
);
int
tryIndex
=
1
;
QString
saveFileName
=
nameFormat
.
arg
(
QDateTime
::
currentDateTime
().
toString
(
dtFormat
)).
arg
(
""
);
...
...
src/comm/LogReplayLink.cc
View file @
78b37c91
...
...
@@ -202,7 +202,7 @@ bool LogReplayLink::_loadLogFile(void)
logFileInfo
.
setFile
(
logFilename
);
_logFileSize
=
logFileInfo
.
size
();
_logTimestamped
=
logFilename
.
endsWith
(
".
mavlink
"
);
_logTimestamped
=
logFilename
.
endsWith
(
".
tlog
"
);
if
(
_logTimestamped
)
{
// Get the first timestamp from the log
...
...
src/ui/QGCMAVLinkLogPlayer.cc
View file @
78b37c91
...
...
@@ -73,7 +73,7 @@ void QGCMAVLinkLogPlayer::_selectLogFileForPlayback(void)
this
,
tr
(
"Load MAVLink Log File"
),
QStandardPaths
::
writableLocation
(
QStandardPaths
::
DocumentsLocation
),
tr
(
"MAVLink Log Files (*.
mavlink
);;All Files (*)"
));
tr
(
"MAVLink Log Files (*.
tlog
);;All Files (*)"
));
if
(
logFilename
.
isEmpty
())
{
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment