Commit 40716011 authored by lm's avatar lm

Cleaned up

parent 7fdec584
/*=====================================================================
PIXHAWK Micro Air Vehicle Flying Robotics Toolkit
(c) 2009, 2010 PIXHAWK PROJECT <http://pixhawk.ethz.ch>
This file is part of the PIXHAWK project
PIXHAWK is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
PIXHAWK is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with PIXHAWK. If not, see <http://www.gnu.org/licenses/>.
======================================================================*/
/**
......@@ -260,16 +241,12 @@ void LinechartPlot::appendData(QString dataname, quint64 ms, double value)
if (m_groundTime)
{
// Use the current (receive) time
//dataset->append(MG::TIME::getGroundTimeNow(), value);
time = QGC::groundTimeUsecs()/1000;
//qDebug() << "QGC:" << QGC::groundTimeUsecs()/1000;
}
else
{
// Use timestamp from dataset
time = ms;
//qDebug() << "MS:" << ms;
//qDebug() << "QGC:" << QGC::groundTimeUsecs()/1000;
}
dataset->append(time, value);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment