mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
OP-42 GCS/Scope: Forgot (again) to remove test data generator
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1468 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
7813414f29
commit
ec62e528b1
@ -50,8 +50,8 @@ TestDataGen* ScopeGadgetWidget::testDataGen;
|
||||
|
||||
ScopeGadgetWidget::ScopeGadgetWidget(QWidget *parent) : QwtPlot(parent)
|
||||
{
|
||||
if(testDataGen == 0)
|
||||
testDataGen = new TestDataGen();
|
||||
// if(testDataGen == 0)
|
||||
// testDataGen = new TestDataGen();
|
||||
|
||||
//Setup the timer that replots data
|
||||
replotTimer = new QTimer(this);
|
||||
@ -359,7 +359,7 @@ void TestDataGen::genTestData()
|
||||
|
||||
// Update Attitude Raw data
|
||||
AttitudeRaw::DataFields attData;
|
||||
// attData.accels[0] = 4 * sin(2 * testTime) + 1 * cos(6 * testTime) + 4;
|
||||
// attData.accels[0] = 4 * sin(2 * testTime) + 1 * cos(6 * testTime) + 4;
|
||||
// attData.accels[1] = 3 * sin(2.3 * testTime) + 1.5 * cos(3.3 * testTime) + 2;
|
||||
// attData.accels[2] = 4 * sin(5.3 * testTime) + 1.5 * cos(1.3 * testTime) + 1;
|
||||
attData.accels[0] = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user