MaslowCNC / Firmware

Maslow Firmware
GNU General Public License v3.0
263 stars 134 forks source link

Sled falling behind error triggers repeatedly if there is a big discrepancy between target and pos #437

Open BarbourSmith opened 6 years ago

BarbourSmith commented 6 years ago

As described here: https://forums.maslowcnc.com/t/constant-calibration-interruptions/3540

There is a case under which the sled position error is triggered repeatedly. I'm not sure exactly what the issue is in the forum post. I will add to this issue when we know more

blurfl commented 6 years ago

Does this movement need to be exempt from position error checking like the motor test?

BarbourSmith commented 6 years ago

I'm not sure, I think the issue might be when there is a step change in position and the computed position and actual position don't align anymore

BarbourSmith commented 6 years ago

I've been able to replicate this by using the "set chain lengths manual" button

BarbourSmith commented 6 years ago

Unfortunately (or fortunately) the issue does not seem to be with the error detection code. The error is real and is being detected correctly by the new detection code. I'm still looking into it

BarbourSmith commented 6 years ago

I think that the issue was caused by a bug in the code related to the chain pitch tolerance...so unrelated. I will ask the OP if they had changed the chain pitch settings