aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/endstop_phase.py
Commit message (Collapse)AuthorAgeFilesLines
* homing: Remove EndstopErrorKevin O'Connor2020-09-041-3/+2
| | | | | | | There's no reason to distinguish between an EndstopError and a CommandError, so just use CommandError. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy: Rename try_load_module() to load_object()Kevin O'Connor2020-05-081-2/+2
| | | | | | | | Rename try_load_module() so that it uses consistent naming for "printer objects". Change the function to raise an error by default if the specified module does not exist. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* endstop_phase: Use new GCodeCommand wrappersKevin O'Connor2020-05-051-11/+11
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing: Add a "home_rails_begin" event notifierKevin O'Connor2020-02-151-5/+5
| | | | | | Also, rename the "homed_rails" event to "home_rails_end". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* endstop_phase: Query the stepper step_distance from the stepper objectKevin O'Connor2020-02-011-23/+39
| | | | | | | Don't obtain the step_distance from the config, instead obtain step_distance from the instantiated stepper object. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* endstop_phase: Use set_tag_position() instead of set_commanded_position()Kevin O'Connor2019-11-131-2/+2
| | | | | | | Use the new get/set_tag_position() calls to avoid altering the low-level kinematic position. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* endstop_phase: Add tmc2209 and tmc5160 to list of tmc driversKevin O'Connor2019-06-231-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* endstop_phase: Fix endstop_phase on trinamic drivers that aren't invertedKevin O'Connor2019-06-211-0/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2660: Add endstop phase detection functionality to TMC2660 extra (#816)Florian Heilmann2018-10-241-1/+1
| | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* endstop_phase: Add support for an ENDSTOP_PHASE_CALIBRATE commandKevin O'Connor2018-10-161-0/+96
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* endstop_phase: Add support for detecting phase via TMC stepper driversKevin O'Connor2018-10-161-5/+25
| | | | | | | | The Trinamic stepper motor drivers are capable of reporting the stepper phase - add support for using that capability to the enddstop_phases module. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* endstop_phase: Move endstop phase homing code to new "extras" moduleKevin O'Connor2018-10-161-0/+75
Move the endstop phase tracking code from stepper.py to a new extras/endstop_phase.py module. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>