-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemoMotion.cpp
126 lines (99 loc) · 3.72 KB
/
demoMotion.cpp
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
using namespace std;
#include <iostream>
#include "TestSuite.h"
int main()
{
/*
int count = 0;
cout << endl << "<<<<< TrapezoidalProfile >>>>>" << endl;
count++;
if (testCase_TrapezoidalProfile_001()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count++;
if (testCase_TrapezoidalProfile_002()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count++;
if (testCase_TrapezoidalProfile_003()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count++;
if (testCase_TrapezoidalProfile_004()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count++;
if (testCase_TrapezoidalProfile_005()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count++;
if (testCase_TrapezoidalProfile_006()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count++;
if (testCase_TrapezoidalProfile_007()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count = 101;
if (testCase_TrapezoidalProfile_101()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count++;
if (testCase_TrapezoidalProfile_102()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count++;
if (testCase_TrapezoidalProfile_103()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count = 201;
if (testCase_TrapezoidalProfile_201()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
cout << endl << "<<<<< ScurveProfile >>>>>" << endl;
count = 1;
if (testCase_ScurveProfile_001()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count++;
if (testCase_ScurveProfile_002()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count++;
if (testCase_ScurveProfile_003()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count++;
if (testCase_ScurveProfile_004()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count++;
if (testCase_ScurveProfile_005()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count++;
if (testCase_ScurveProfile_006()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count++;
if (testCase_ScurveProfile_007()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count++;
if (testCase_ScurveProfile_008()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count = 101;
if (testCase_ScurveProfile_101()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count++;
if (testCase_ScurveProfile_102()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
count = 201;
if (testCase_ScurveProfile_201()) cout << "PATH:" << count << endl;
else cout << "NG:" << count << endl;
*/
testCase_TrapezoidalProfile_001();
testCase_TrapezoidalProfile_002();
testCase_TrapezoidalProfile_003();
testCase_TrapezoidalProfile_004();
testCase_TrapezoidalProfile_005();
testCase_TrapezoidalProfile_006();
testCase_TrapezoidalProfile_007();
testCase_TrapezoidalProfile_101();
testCase_TrapezoidalProfile_102();
testCase_TrapezoidalProfile_103();
testCase_TrapezoidalProfile_201();
testCase_ScurveProfile_001();
testCase_ScurveProfile_002();
testCase_ScurveProfile_003();
testCase_ScurveProfile_004();
testCase_ScurveProfile_005();
testCase_ScurveProfile_006();
testCase_ScurveProfile_007();
testCase_ScurveProfile_008();
testCase_ScurveProfile_101();
testCase_ScurveProfile_102();
testCase_ScurveProfile_201();
}