markniu / Bed_Distance_sensor

Auto bed level with High resolution distance sensor
281 stars 27 forks source link

Delta Printer Homing Broken #89

Open echterOsti opened 9 months ago

echterOsti commented 9 months ago

Im using the current BDsensor_beta, because i saw it's supposed to bring the real time leveling to klipper.

When i home my delta printer after using the BDSENSOR_SET REAL_TIME_HEIGHT=0.32 command, my A motor homes DOWNWARD, away from the switch and into the bed. B and C home correctly. It seems that the current beta breaks DELTA homing, i suspect it reverses or ignores the motor direction. (if set to ! / reverse in cfg.)

I also can not get the classic mesh from BED_MESH_CALIBRATE to be applied, no matter if i use BED_MESH_PROFILE LOAD=default.

I've attached the printer.cfg and my makro for starting the print: petersmacros.cfg printer.cfg

echterOsti commented 9 months ago

I just checked out the config file and can confirm, motor A is the only one that has its direction reversed in the config file. It seems that the current implementation ignores/ reverses the direction set in printer.cfg after BDSENSOR_SET REAL_TIME_HEIGHT command is issued.

echterOsti commented 9 months ago

I just removed the reversed direction by plugging in the stepper A in reverse, and removed the direction change from printer.cfg Now the C stepper / z tower is running in the wrong direction when homing. It seems the issue is not the direction of stepper motors in printer.cfg