Commit 2cdad46
committed
Made tests/motion/g0 more robust and got rid of race condition
Adjusted test.sh to make sure halsampler run until all instructions are sent
via port 5007 to linuxcncrsh. Now wait for explicite process IDs of halsampler
and linuxcnc to make sure neither terminated before test is over. Added more
checks in checkresults, and made sure it give more sensible error messages
if no acceleration is detected (instead of raising out of bound exceptions.
Replaced random sleep periods with code to wait for pins to signal startup,
homing and move is completed.1 parent 55b163c commit 2cdad46
2 files changed
+44
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
| |||
100 | 104 | | |
101 | 105 | | |
102 | 106 | | |
103 | | - | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
| |||
141 | 145 | | |
142 | 146 | | |
143 | 147 | | |
144 | | - | |
| 148 | + | |
145 | 149 | | |
146 | 150 | | |
147 | 151 | | |
| |||
158 | 162 | | |
159 | 163 | | |
160 | 164 | | |
161 | | - | |
| 165 | + | |
162 | 166 | | |
163 | 167 | | |
164 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
6 | 23 | | |
| 24 | + | |
7 | 25 | | |
8 | | - | |
9 | | - | |
| 26 | + | |
10 | 27 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
16 | 31 | | |
17 | 32 | | |
18 | 33 | | |
| |||
26 | 41 | | |
27 | 42 | | |
28 | 43 | | |
29 | | - | |
30 | | - | |
| 44 | + | |
| 45 | + | |
31 | 46 | | |
32 | 47 | | |
33 | | - | |
| 48 | + | |
| 49 | + | |
34 | 50 | | |
35 | | - | |
36 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
37 | 55 | | |
38 | 56 | | |
39 | 57 | | |
40 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
41 | 62 | | |
42 | 63 | | |
43 | | - | |
| 64 | + | |
44 | 65 | | |
45 | 66 | | |
46 | 67 | | |
0 commit comments