aboutsummaryrefslogtreecommitdiffstats
path: root/klippy
Commit message (Collapse)AuthorAgeFilesLines
* filament_motion_sensor: add get_status (#4281)Alex Zellner2021-05-111-0/+1
| | | Signed-off-by: Alex Zellner <alexander.zellner@googlemail.com>
* virtual_sdcard: fix check for case sensitive filesArksine2021-05-111-1/+2
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* menu: Fixed typo when reading `print_stats.state` (#4261)Dany Yanev2021-05-061-2/+2
| | | | | Fixed typo when reading `print_stats.state` causing some of the menus to now show up. Signed-off-by: Dany Yanev <yanev89@gmail.com>
* kinematics: Add hybrid-corexy and hybrid-corexz (#4229)Tircown2021-05-032-0/+200
| | | Signed-off-by: Fabrice GALLET <tircown@gmail.com>
* klippy: Report known software versions on a protocol error during connectionKevin O'Connor2021-05-022-3/+16
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* endstop: Report trigger time in endstop_query responseKevin O'Connor2021-04-301-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* adxl345: Use "clock" suffix instead of "time" in commandsKevin O'Connor2021-04-301-5/+5
| | | | | | The debugging code knows how to handle fields that end in "clock". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pulse_counter: Use "clock" suffix instead of "time" in commandsKevin O'Connor2021-04-301-5/+6
| | | | | | The debugging code knows how to handle fields that end in "clock". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Remove min_stop_interval from mcu codeKevin O'Connor2021-04-302-3/+2
| | | | | | | Now that the host never uses a min_stop_interval, remove it from the mcu code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: Do not limit SET_VELOCITY_LIMIT to values specified in configKevin O'Connor2021-04-301-8/+4
| | | | | | | Allow a larger velocity, accel, and square_corner_velocity than what is specified in the config file. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Do not set min_stop_interval in micro-controllerKevin O'Connor2021-04-3012-67/+5
| | | | | | | | The min_stop_interval safety check is fragile and leads to a notable amount of complexity. Avoid these issues by not programming this safety check. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Use original XY position on multiple probe samplesKevin O'Connor2021-04-281-2/+2
| | | | | | | | | On some kinematics it's possible for the XY position to change slightly during a probing move. Return back to the original XY position on a probe lift so each probe attempt starts at the same nominal position. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Generate M115 output even if command not sent from gcode pseudo-terminalKevin O'Connor2021-04-281-1/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Revert "endstop_phase: wip"Kevin O'Connor2021-04-281-7/+0
| | | | | | | | This reverts commit f2e4653ca4b0ed9ee2c8d7b0aa12a5e3973fa285. Revert incomplete testing code that was accidentally committed. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* endstop_phase: wipKevin O'Connor2021-04-281-0/+7
|
* resonance_tester: Refactored the testing codeDmitry Butyugin2021-04-281-109/+68
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* screws_tilt_adjust: Add MAX_DEVIATION parameter for bed level invariant.Johannes Stuettgen2021-04-281-0/+8
| | | | | | | This is useful when a saved bed mesh is used to ensure that the bed level has not drifted too far from where it was when the mesh was created. Signed-off-by: Johannes Stuettgen <johannes.stuettgen@gmail.com>
* probe: Add deactivate_on_each_sample: param for Probe (#4161)nlef2021-04-241-8/+25
| | | Signed-off-by: Nick Lefskiy <n.lefskiy@yandex.ru>
* adxl345: Verify the register writes, added debug adxl345 commandsDmitry Butyugin2021-04-241-20/+75
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* stepper: Register a config default for calculated homing_positive_dirKevin O'Connor2021-04-161-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* palette2: Fix get_status (#4171)Clifford Roche2021-04-151-1/+3
| | | Signed-off-by: Clifford Roche <clifford.roche@gmail.com>
* palette2: Add ping variation + ping status reports (#4114)Clifford Roche2021-04-141-20/+45
| | | Signed-off-by: Clifford Roche <clifford.roche@gmail.com>
* stepcompress: Improve numerical stability of step+dir+step filterKevin O'Connor2021-04-111-1/+1
| | | | | | | Apply the step+dir+step filter even if, for some reason, a negative time is found. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bed_mesh: introduce "faulty_regions" optionArksine2021-04-101-5/+167
| | | | | | Users may define "faulty regions", locations within the mesh where a probed value is unreliable. When bed mesh generates points it will substitute points in faulty regions with up to 4 points nearest to the region. After calibration is complete the Z values at these points will be averaged and assigned to the original value inside the faulty region. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: Allow user to clear the relative_reference_index via gcodeArksine2021-04-101-0/+2
| | | | | | If a negative number is specified for the RELATIVE_REFERENCE_INDEX parameter clear the internal relative_reference_index. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* toolhead: Export the print_stalls value via get_status()Kevin O'Connor2021-04-091-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* statistics: Export the OS and process load in a get_status() methodKevin O'Connor2021-04-091-17/+45
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pca9533: RGB support for the mightyboard (#4150)le-Bark2021-04-091-0/+53
| | | Signed-off-by: Marc-André Denis <marcadenis@msn.com>
* hd44780_spi: added lcd support to the mightyboard (#4121)le-Bark2021-04-072-1/+127
| | | Signed-off-by: Marc-André Denis <marcadenis@msn.com>
* resonance_tester: Fixed multi-point resonance testingDmitry Butyugin2021-04-072-3/+6
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* bed_mesh: Perform initialization from klippy:connect instead of klippy:readyKevin O'Connor2021-04-021-3/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bltouch: Minor indentation changeKevin O'Connor2021-04-021-3/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bltouch: Raise the probe as soon as the endstop triggersKevin O'Connor2021-04-021-9/+24
| | | | | | | | Start the raise sequence once the endstop notification arrives. This can reduce the response time as it does not require waiting for the homing sequence to fully finalize. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bltouch: Use hmove.check_no_movement() to verify bltouch deployedKevin O'Connor2021-04-021-10/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pause_resume: Perform setup via "klippy:connect" instead of "klippy:ready"Kevin O'Connor2021-04-011-2/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bed_mesh: lookup the toolhead object in "handle_connect"Arksine2021-04-011-1/+4
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* gcode_move: Make sure to call reset_last_position() in _handle_ready()Kevin O'Connor2021-03-311-0/+1
| | | | | | | | | | | If reset_last_position() is invoked prior to the printer being "ready", then the transform may not be properly accounted for. Handle this by calling reset_last_position() when the printer becomes "ready". This should fix some "must home first" errors on extrude-only moves. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* skew_correction: Register during "connect" phase instead of "ready" phaseKevin O'Connor2021-03-311-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rotary_delta: Fix typo in get_status() homed_axesKevin O'Connor2021-03-291-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing: Pass the HomingMove class to homing_move_begin/end eventsKevin O'Connor2021-03-295-22/+22
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing: Move homing logic from manual_stepper.py to homing.pyKevin O'Connor2021-03-293-53/+55
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing: Extract out movement verification to new check_no_movement()Kevin O'Connor2021-03-291-19/+22
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing: Separate homing/probing movement logic to its own classKevin O'Connor2021-03-291-29/+37
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing: Move home_axes() into cmd_G28()Kevin O'Connor2021-03-291-8/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing: Minor simplification of verify_movement trackingKevin O'Connor2021-03-291-7/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing: Move low-level probing logic from probe.py to homing.pyKevin O'Connor2021-03-292-13/+13
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: Make sure input_shaper movement starts after endstop checkingKevin O'Connor2021-03-291-0/+1
| | | | | | | | | | Add a dwell() to the start of drip_move() to ensure that input_shaper movements scheduled in advance of the nominal move time aren't scheduled prior to the homing start. (Otherwise the stepper may move prior to endstop checking, which can corrupt the "no movement" checks.) Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* output_pin: Fix bug in setting of self.resend_intervalKevin O'Connor2021-03-271-1/+2
| | | | | | | Only set resend_interval if a mcu_duration is specified. This fixes a bug introduced in commit 861144d8. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* hall_filament_width_sensor: fix range check error (#4113)Denis Ignatenko2021-03-271-2/+2
| | | Signed-off-by: Denis Ignatenko <deniss979@gmail.com>
* output_pin: Make sure to not use a cycle_time or max_duration over 5 secondsKevin O'Connor2021-03-261-5/+8
| | | | | | | Times longer than 5 seconds may result in a 32bit ticks overflow in the micro-controller (for fast micro-controllers). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>