Skip to content

Commit f351c2e

Browse files
authored
Merge pull request #146 from jseriff/no_toolhead_sensor
Remove sync move until we figure out the problem
2 parents 3d49e9b + 77a408e commit f351c2e

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

Klipper_Files/Extra module/ercf.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -790,13 +790,17 @@ def _unload_from_end_of_bowden(self, length):
790790
self._counter.reset_counts()
791791

792792
# Initial unload in sync (ERCF + extruder) for xx mms
793-
pos = self.toolhead.get_position()
794-
pos[3] -= self.sync_unload_length
795-
self.gear_stepper.do_move(-self.sync_unload_length, 30, self.gear_stepper_accel, sync=0)
796-
self.toolhead.manual_move(pos, 30)
797-
self.toolhead.wait_moves()
798-
length -= self.sync_unload_length
793+
#self._log_trace("Moving the gear and extruder motors in sync %.1f" % self.sync_unload_length)
794+
#pos = self.toolhead.get_position()
795+
#pos[3] -= self.sync_unload_length
796+
#self.gear_stepper.do_move(-self.sync_unload_length, 30, self.gear_stepper_accel, sync=0)
797+
#self.toolhead.manual_move(pos, 30)
798+
#self.toolhead.wait_moves()
799+
#counter_distance = self._counter.get_distance()
800+
#length -= counter_distance
801+
#self._log_debug("Sync unload move done %.1f / %.1f (diff: %.1f)" % (counter_distance, self.sync_unload_length, counter_distance - self.sync_unload_length))
799802

803+
self._counter.reset_counts()
800804
# initial attempt to unload the filament
801805
for i in range(self.num_moves):
802806
self._log_trace("Moving the gear motor %.1f" % (-length / self.num_moves))

0 commit comments

Comments
 (0)