From b2e22c6d3b91d097fd26a7c46e4d854aa0ebe76e Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Mon, 25 Nov 2013 18:58:22 +0100 Subject: [PATCH] Add another testcase, add lookahead-warmup. Lookahead-warmup = two lines of G-code which take just long enough to allow the intended movements to be added with look-ahead. --- testcases/straight-speeds.gcode | 2 ++ testcases/triangle.gcode | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 testcases/triangle.gcode diff --git a/testcases/straight-speeds.gcode b/testcases/straight-speeds.gcode index 6b3557d..77c6fc1 100644 --- a/testcases/straight-speeds.gcode +++ b/testcases/straight-speeds.gcode @@ -2,6 +2,8 @@ (the look-ahead algorithm) G21 G90 +G1 X5 F400 +G1 X0 G1 X10 F200 G1 X20 F400 G1 X100 F1500 diff --git a/testcases/triangle.gcode b/testcases/triangle.gcode new file mode 100644 index 0000000..9e7d002 --- /dev/null +++ b/testcases/triangle.gcode @@ -0,0 +1,9 @@ +(This is a test case for plotting scripts) +G21 +G90 +G1 X5 F800 +G1 X0 +G1 X20 +G1 X40 Y20 +G1 X0 Y0 +M2