1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00

OP-42 GCS/Scope: Oops...forgot to remove test data generator.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1287 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
banigreyling 2010-08-14 21:09:13 +00:00 committed by banigreyling
parent fdfd004634
commit 9ca72beb7f

View File

@ -316,7 +316,7 @@ TestDataGen::TestDataGen()
gps = PositionActual::GetInstance(objManager);
//Setup timer
periodMs = 5;
periodMs = 4;
timer = new QTimer(this);
connect(timer, SIGNAL(timeout()), this, SLOT(genTestData()));
timer->start(periodMs);
@ -347,7 +347,7 @@ void TestDataGen::genTestData()
testTime += (periodMs / 1000.0);
debugCounter++;
if (debugCounter % 100 == 0 )
if (debugCounter % (100/periodMs) == 0 )
qDebug() << "Test Time = " << testTime;
}