New parameters for deltas to correct towers' angular position
I have found that angular correction of tower position used in some Marlin versions (especially Rich Cattel's fork) was very usefull as it allowes me to calibrate delta printer very easily and precise.
It suggest to add 3 parameters (one for each tower) into position calculation as well as into EEPROM:
e.g.:
static inline float deltaAngularCorrectionA() {
return EEPROM_FLOAT(DELTA_ANGULAR_CORRECTION_A);
}
with usage in code:
deltaAPosXSteps = floor(radiusA * cos((EEPROM::deltaAlphaA()+EEPROM::deltaAngularCorrectionA()) * M_PI / 180.0f) * axisStepsPerMM[Z_AXIS] + 0.5f);
George
Comments