Skip to content

Commit

Permalink
added fine-tune cycle for auto backlash calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahparker committed Mar 26, 2020
1 parent 6a2882a commit 25fda74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion motion/motion.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ motion.calibrateBacklash = function(driver, motorId, callback) {
return cb(null, steps - (dec / 4));
} else {
steps += dec / 4;
if(tries > 4) {
if(tries > 7) {
return cb(null, steps);
}
if(motion.status.calibrating) {
Expand Down

0 comments on commit 25fda74

Please sign in to comment.