Browse Source

Allow the sampled point to be added into the Least Squares Best Fit (#7289)

Without this...  The LSF won't work because none of the sampled points
in this code block get added.
Roxy-3D 8 years ago
parent
commit
37a6833d7e
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Marlin/Marlin_main.cpp

+ 2
- 0
Marlin/Marlin_main.cpp View File

4623
           eqnAMatrix[abl_probe_index + 1 * abl2] = yProbe;
4623
           eqnAMatrix[abl_probe_index + 1 * abl2] = yProbe;
4624
           eqnAMatrix[abl_probe_index + 2 * abl2] = 1;
4624
           eqnAMatrix[abl_probe_index + 2 * abl2] = 1;
4625
 
4625
 
4626
+          incremental_LSF(&lsf_results, xProbe, yProbe, measured_z);
4627
+
4626
         #elif ENABLED(AUTO_BED_LEVELING_BILINEAR)
4628
         #elif ENABLED(AUTO_BED_LEVELING_BILINEAR)
4627
 
4629
 
4628
           z_values[xCount][yCount] = measured_z + zoffset;
4630
           z_values[xCount][yCount] = measured_z + zoffset;

Loading…
Cancel
Save