PavelSindler 5 years ago
parent
commit
8f69d5a501
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Firmware/mesh_bed_calibration.cpp

+ 5 - 0
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)