Merge remote-tracking branch 'upstream/edge' into merge-abc-with-homing
[clinton/Smoothieware.git] / src / modules / tools / zprobe / DeltaCalibrationStrategy.h
CommitLineData
f6efadb0
JM
1#ifndef _DELTALEVELINGSTRATEGY
2#define _DELTALEVELINGSTRATEGY
3
ce9d2bda
JM
4#include "LevelingStrategy.h"
5
f6efadb0
JM
6#define delta_calibration_strategy_checksum CHECKSUM("delta-calibration")
7
ce9d2bda 8class StreamOutput;
f6efadb0 9
ce9d2bda
JM
10class DeltaCalibrationStrategy : public LevelingStrategy
11{
12public:
13 DeltaCalibrationStrategy(ZProbe *zprobe) : LevelingStrategy(zprobe){};
14 ~DeltaCalibrationStrategy(){};
15 bool handleGcode(Gcode* gcode);
16 bool handleConfig();
17
18private:
19 bool set_trim(float x, float y, float z, StreamOutput *stream);
20 bool get_trim(float& x, float& y, float& z);
21 bool calibrate_delta_endstops(Gcode *gcode);
22 bool calibrate_delta_radius(Gcode *gcode);
afc5b690 23 bool probe_delta_points(Gcode *gcode);
119114b4 24 float findBed();
ce9d2bda
JM
25
26 float probe_radius;
119114b4 27 float initial_height;
ce9d2bda 28};
f6efadb0
JM
29
30#endif