Prusa3d Marlin fork
xyzcal.h
1 //xyzcal.h - xyz calibration with image processing
2 #pragma once
3 
4 #include <inttypes.h>
5 
6 #include "mesh_bed_calibration.h"
7 
8 extern void xyzcal_measure_enter(void);
9 extern void xyzcal_measure_leave(void);
10 
11 extern bool xyzcal_lineXYZ_to(int16_t x, int16_t y, int16_t z, uint16_t delay_us, int8_t check_pinda);
12 
13 extern bool xyzcal_spiral2(int16_t cx, int16_t cy, int16_t z0, int16_t dz, int16_t radius, int16_t rotation, uint16_t delay_us, int8_t check_pinda, uint16_t* pad);
14 
15 extern bool xyzcal_spiral8(int16_t cx, int16_t cy, int16_t z0, int16_t dz, int16_t radius, uint16_t delay_us, int8_t check_pinda, uint16_t* pad);
16 
17 //extern int8_t xyzcal_measure_pinda_hysteresis(int16_t min_z, int16_t max_z, uint16_t delay_us, uint8_t samples);
18 
19 extern BedSkewOffsetDetectionResultType xyzcal_find_bed_induction_sensor_point_xy();