Skip to content

Commit

Permalink
Merge pull request #47 from Cartographer3D/probe-speed-fix
Browse files Browse the repository at this point in the history
fix: fixed threshold scan probing speed
  • Loading branch information
krautech authored Nov 15, 2024
2 parents ec212cc + 0972b76 commit a4ae280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,7 @@ def cmd_SCANNER_THRESHOLD_SCAN(self, gcmd):
gcmd.respond_info("Testing Threshold value %d..." % (current_threshold))
self.detect_threshold_z = current_threshold

result = self._probe_accuracy_check(self.probe_speed, skip_samples, qualify_samples, 5, False, lift_speed, False, best_threshold_range)
result = self._probe_accuracy_check(self.scanner_touch_config['speed'], skip_samples, qualify_samples, 5, False, lift_speed, False, best_threshold_range)
if result.range_value <= range_value and result.range_value < best_threshold_range:
gcmd.respond_info("Threshold value %d has promising repeatability over %d samples within %.6f range (current best %.6f at %d), verifying over %d ..." % (current_threshold, qualify_samples, result.range_value, best_threshold_range, best_threshold, verify_samples))
result = self._probe_accuracy_check(self.scanner_touch_config['speed'], skip_samples, verify_samples, 5, False, lift_speed, False, best_threshold_range)
Expand Down

0 comments on commit a4ae280

Please sign in to comment.