From 8f69d5a501619b84a929d6499e14ca870894dfa5 Mon Sep 17 00:00:00 2001 From: PavelSindler Date: Thu, 28 Mar 2019 14:48:35 +0100 Subject: [PATCH] document --- Firmware/mesh_bed_calibration.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Firmware/mesh_bed_calibration.cpp b/Firmware/mesh_bed_calibration.cpp index 62bcca3c..8ac050af 100644 --- a/Firmware/mesh_bed_calibration.cpp +++ b/Firmware/mesh_bed_calibration.cpp @@ -3129,6 +3129,11 @@ void mbl_settings_init() { } } +//parameter ix: index of mesh bed leveling point in X-axis +//parameter iy: index of mesh bed leveling point in Y-axis +//parameter meas_points: number of mesh bed leveling points in one axis; currently designed and tested for values 3 and 7 +//parameter zigzag: false if ix is considered 0 on left side of bed and ix rises with rising X coordinate; true if ix is considered 0 on the right side of heatbed for odd iy values (zig zag mesh bed leveling movements) +//function returns true if point is considered valid (typicaly in safe distance from magnet or another object which inflences PINDA measurements) bool mbl_point_measurement_valid(uint8_t ix, uint8_t iy, uint8_t meas_points, bool zigzag) { //"human readable" heatbed plan //magnet proximity influence Z coordinate measurements significantly (40 - 100 um)