-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtests.h
More file actions
40 lines (29 loc) · 740 Bytes
/
tests.h
File metadata and controls
40 lines (29 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef TESTS_H
#define TESTS_H
#include <QObject>
#include <QTest>
#include <QTimer>
#include "controller.h"
class Controller;
class IP_Connection;
class Tests : public QObject
{
Q_OBJECT
public:
IP_Connection *PCB;
Controller *control;
explicit Tests(Controller *c, IP_Connection *testPCB, QObject *parent = 0);
void Test(int setID, int motorID);
void TestPulsesForOscilloscope();
void TestForce(int width, int begin, int end, int setID, int motorID);
void StopForseTest();
void CollectData(int setID, int motorID, QString period);
private:
int stopForseTest;
void Delay(int t);
void WaitForMotorData();
signals:
public slots:
void PrintBoardResponse();
};
#endif // TESTS_H