Kevin O'Connor
f2ca7d5c66
verify_heater: Improve handling of new targets when temperature is dropping
...
Allow the first check_gain_time interval to only require a
heating_gain relative to the lowest observed temperature during that
interval. This makes the code less likely to raise a spurious error
when the heater is enabled while the heater temperature is dropping.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-03-08 10:55:46 -05:00
Kevin O'Connor
893bb32d01
verify_heater: Only reset the error count if within the hysteresis range
...
Don't reset the error counter if the reported temperature is
significantly above the target temperature. This may help catch cases
where the temperature sensor reports random values.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-03-08 10:55:46 -05:00
Kevin O'Connor
1731fbbca4
gcode: Change respond_info() to log by default
...
It makes sense to log most respond_info() content, so do that by
default.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-03-04 13:04:18 -05:00
Kevin O'Connor
d62a41b930
manual_stepper: Add support for moves with acceleration
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-03-03 13:38:10 -05:00
Arksine
3c79e484d5
filament_switch_sensor: initial implementation of switch based filament runout/insert sensor
...
This implementation includes a BaseSensor class that all underlying sensor implementations should subclass.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2019-03-01 00:45:51 -05:00
Arksine
3cd1f9676d
pause_resume: Implement send_pause_command()
...
This allows for pausing from inside a reactor callback.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2019-03-01 00:45:51 -05:00
Kevin O'Connor
c8d7e28a35
atsamd: Add support for programming SERCOM pins
...
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-03-01 00:40:44 -05:00
Kevin O'Connor
8617cbcb76
tmc2130: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-03-01 00:35:20 -05:00
Kevin O'Connor
c039b33f2a
tmc2130: Add support for INIT_TMC command
...
Signed-off-by: Frank Kang <amblidex@outlook.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-03-01 00:24:39 -05:00
Kevin O'Connor
5f5d39ef3f
bed_screws: Fix missing import
...
Reported by @JoaoFelipe.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-28 00:30:05 -05:00
Kevin O'Connor
264505a1b0
tmc2130: Report write-only registers in DUMP_TMC
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 18:53:18 -05:00
Kevin O'Connor
f7d8fde502
tmc2208: Report write-only registers in DUMP_TMC
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 18:49:45 -05:00
Kevin O'Connor
1b064b5a5d
tmc2660: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 14:33:17 -05:00
Kevin O'Connor
c1670ea336
tsl1401cl_filament_width_sensor: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 14:33:17 -05:00
Kevin O'Connor
20040f4a18
quad_gantry_level: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 14:33:17 -05:00
Kevin O'Connor
a4a23dee9f
respond: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 14:33:17 -05:00
Kevin O'Connor
0b095ddf47
temperature_fan: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 14:33:17 -05:00
Kevin O'Connor
f13c5d4cdb
sx1509: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 14:33:17 -05:00
Kevin O'Connor
2d99a1e802
buttons: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:34:22 -05:00
Kevin O'Connor
ef1bf60ab7
hd44780: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:31:47 -05:00
Kevin O'Connor
51051478af
st7920: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:31:31 -05:00
Kevin O'Connor
d6d23c8415
thermistor: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:29:41 -05:00
Kevin O'Connor
9f1d9bf0f4
probe: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:28:55 -05:00
Kevin O'Connor
ea1814e017
Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:27:52 -05:00
Kevin O'Connor
e504147285
font8x14: Store font as strings instead of as bytearray
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:26:59 -05:00
Kevin O'Connor
21e45cac64
spi_temperature: Wrap code to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-27 13:14:23 -05:00
Douglas Hammond
b6589406d4
temperature_sensor: Add generic temperature sensor support
...
Signed-off-by: Douglas Hammond <wizhippo@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-26 13:15:56 -05:00
Douglas Hammond
f9968904d6
temperature_fan: Remove stats as it now supports gcode reports
...
Signed-off-by: Douglas Hammond <wizhippo@gmail.com>
2019-02-26 12:07:00 -05:00
Douglas Hammond
3887ad4fce
heater: Support generic gcode_id registration for sensors
...
Support reading a "gcode_id" parameter from heater/sensor config
sections.
Signed-off-by: Douglas Hammond <wizhippo@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-26 12:07:00 -05:00
Kevin O'Connor
34209e6189
heater_bed: Wrap lines to 80 columns
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-26 11:20:01 -05:00
Kevin O'Connor
adf6040e9e
gcode: Use an event to handle restart request actions
...
Instead of directly turning off motors, heaters, and fans from
gcode.py, raise a new event and allow the heater, fan, and toolhead to
handle the event as needed.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-25 21:26:27 -05:00
Kevin O'Connor
bb4fab5570
heater: Rename add_sensor() to add_sensor_factory()
...
Signed-off-by: Douglas Hammond <wizhippo@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-25 20:34:12 -05:00
Arksine
f7d8854587
bed_mesh: simplify configuration
...
The 'bed_shape' option has been removed. The user will enter a 'bed_radius' if they have a round be, otherwise they should enter 'min_point' and 'max_point'. When the bed is round the user should supply a 'round_probe_count' option, otherwise just 'probe_count'.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2019-02-25 13:34:14 -05:00
Arksine
7694c3e1b8
bed_mesh: fix get_position()
...
Fix a bug where the fade factor is calculated incorrectly when get_position() is called.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2019-02-25 13:34:14 -05:00
Arksine
f308171be4
bed_mesh: refactor fade_target
...
Offset the entire mesh by the fade target amount rather than offset each z lookup.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2019-02-25 13:34:14 -05:00
Rui Caridade
749beb731c
probe: Set z min value in probe_accuracy to z_offset. ( #1314 )
...
Signed-off-by: Rui Caridade <rui.mcbc@gmail.com>
2019-02-25 12:52:54 -05:00
Kevin O'Connor
80c8bd8b4d
bed_screws: Add a helper tool for leveling bed screws
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-24 00:49:47 -05:00
Kevin O'Connor
5bc47d9416
tmc2130: Use FieldHelper() to set/get driver fields
...
Use the field helper to simplify the bit manipulation in the driver.
This also enables the extended DUMP_TMC output.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-21 11:35:58 -05:00
Kevin O'Connor
b260eb9168
gcode: Raise a config error on invalid register_command()
...
Raise a printer.config_error() on an invalid register_command() call.
This error is easier to handle for the vast majority of callers.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-18 18:04:42 -05:00
Rui Caridade
276d5a1436
probe: Add PROBE_ACCURACY command
...
Implementation of "PROBE_ACCURACY" to measure the maximum, minimum,
average and standard deviation of a probe.
Signed-off-by: Rui Caridade <rui.mcbc@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-18 00:36:28 -05:00
Kevin O'Connor
cc4ecef88b
mcp4018: Add initial support for the mcp4018 digipot
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-16 08:16:37 -05:00
nopbit
0f674ef407
tsl1401cl_filament_width_sensor: Filament Width Sensor Support ( #1132 )
...
Support added for filament diameter sensor. Sample configuration parameters added to example-extras.cfg.
Signed-off-by: Mustafa YILDIZ <mydiz@hotmail.com>
2019-02-14 10:13:48 -05:00
KevinOConnor
c6d1d1bd8c
Merge pull request #1242 from john--/pr_generic_heater
...
Generic Heater Support
2019-02-14 10:08:26 -05:00
John Jardine
6316b2c1b6
Generic Heater Support
...
Adds the ability to register a custom/generic heater through a new extra called heater_generic.
This takes a gcode_id that is reported by M105. Adds a new command to set the temperature for any heater using the syntax:
SET_HEATER_TEMPERATURE HEATER=<heater_name> TARGET=<target_temp>
Signed-off-by: John Jardine <john@gprime.net>
2019-02-14 01:15:11 +00:00
Kevin O'Connor
98ed462865
spi_software: Implementation of software spi
...
Signed-off-by: Matt Janus <FragginRight@variabl.es>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-13 11:52:20 -05:00
Kevin O'Connor
2d7c3a84ee
manual_stepper: Add an "extras" module for manually controlling a stepper
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-12 13:38:13 -05:00
Kevin O'Connor
b0b9fc6f4a
probe: Use manual_probe helper when performing manual probes
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-12 13:20:32 -05:00
Kevin O'Connor
35ea4a137d
probe: Add PROBE_CALIBRATE command
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-12 13:20:32 -05:00
Kevin O'Connor
d14a53e160
manual_probe: Add a helper script for performing manual Z probing
...
Add MANUAL_PROBE and Z_ENDSTOP_CALIBRATE commands.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-12 13:20:32 -05:00
Kevin O'Connor
f1c804907c
virtual_sdcard: Don't list files starting with a '.'
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-08 11:48:53 -05:00