3 #include "LevelingStrategy.h"
8 #define cart_grid_leveling_strategy_checksum CHECKSUM("rectangular-grid")
13 class CartGridStrategy
: public LevelingStrategy
16 CartGridStrategy(ZProbe
*zprobe
);
18 bool handleGcode(Gcode
* gcode
);
23 bool doProbe(Gcode
*gc
);
25 void setAdjustFunction(bool on
);
26 void print_bed_level(StreamOutput
*stream
);
27 void doCompensation(float *target
, bool inverse
);
28 void reset_bed_level();
29 void save_grid(StreamOutput
*stream
);
30 bool load_grid(StreamOutput
*stream
);
31 bool probe_grid(int n
, float x_size
, float y_size
, StreamOutput
*stream
);
37 std::tuple
<float, float, float> probe_offsets
;