Lines 31-32 were replaced by lines 31-32 |
- MA7: {motor: 160, sample: 1357, edge: 1426, vtibot: 1426}, |
- MA10: {motor: 160, sample: 1107, edge: 1222, vtibot: 1222}, |
+ MA7: {motor: 160, sample: 1357, vtibot: 1426}, |
+ MA10: {motor: 160, sample: 1107, vtibot: 1222}, |
Line 35 was replaced by line 35 |
- VARIOX: {motor: 0, sample: 1068, edge: 1138, vtibot: 1138}, |
+ VARIOX: {motor: 0, sample: 1068, vtibot: 1138}, |
Line 68 was replaced by lines 68-72 |
- var minsam = top + Math.max(-edge, bot - vtibot) + sample - sealmix + gapmax; |
+ if (edge) { |
+ var minsam = top + Math.max(-edge, bot - vtibot) + sample - sealmix + gapmax; |
+ } else { |
+ var minsam = bottom + sample - vtibot + gapmax; |
+ } |
Line 77 was replaced by lines 81-85 |
- putout("edge_plus", edge); |
+ if (edge) { |
+ putout("edge_plus", edge); |
+ } else { |
+ putout("edge_plus", ""); |
+ } |