UBL's Grid Based Leveling code

Pretty much...  The code is in place.  Still more work to do.    But it
has a lot of hooks and variables in other code, so commit and merge
before I pick up a million 'Conflicts'.
This commit is contained in:
Roxy-3D
2017-04-06 18:46:47 -05:00
committed by Roxy-3D
parent 549055f20c
commit 1451b7eacf
8 changed files with 501 additions and 67 deletions

View File

@ -288,6 +288,13 @@ float code_value_temp_diff();
void set_bed_leveling_enabled(bool enable=true);
#endif
#if ENABLED(AUTO_BED_LEVELING_UBL)
struct linear_fit {
double A, B, D;
};
struct linear_fit *lsf_linear_fit( double *, double *, double *, int );
#endif
#if PLANNER_LEVELING
void reset_bed_level();
#endif
@ -298,6 +305,8 @@ float code_value_temp_diff();
#if HAS_BED_PROBE
extern float zprobe_zoffset;
#define DEPLOY_PROBE() set_probe_deployed(true)
#define STOW_PROBE() set_probe_deployed(false)
#endif
#if ENABLED(HOST_KEEPALIVE_FEATURE)