Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change operation associated with ChainTolerance
This was discovered by @c0depr1sm and @joshua in this thread: https://forums.maslowcnc.com/t/holey-triangular-calibration/6240/191. The original implementation of ChainTolerance modified the sprocket's mmPerRotation (increasing it for a positive ChainTolerance value). The affect was to reduce the amount of chain fed out. This was adjusted in a previous PR where the ChainTolerance only modified the ChainStraight length in triangularInverse (because there shouldn't be any chain stretch associated with the wrap around the sprocket). However, the formula used actually increases the amount of chain that is fed out (1+ChainTolerance) instead of decreasing it. So, this PR changes the operator such that the ChainTolerance is divided into the ChainStraight rather than multiplies it resulting in a smaller chain length amount being fed out.
- Loading branch information