aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* toolhead: Add a move.move_error() helperKevin O'Connor2020-09-039-26/+21
| | | | | | | Move the EndstopMoveError() code from homing.py to a new method in the toolhead Move class. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* input_shaper: Fix typo in SET_INPUT_SHAPER report of shaper_type_yKevin O'Connor2020-09-031-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* travis-install: Minor change to virtualenv command-line argumentsKevin O'Connor2020-09-031-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* install-octopi: Use "virtualenv -p python2" to ensure python2 is selectedKevin O'Connor2020-09-035-5/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* quad_gantry_level: Add additional comments on how leveling worksKevin O'Connor2020-09-031-18/+41
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_temperature: Simplify and comment MAX31865 temperature calculationsKevin O'Connor2020-09-022-19/+22
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_temperature: fix MAX31865 temperature conversion (#3274)Adrian Keet2020-09-022-1/+5
| | | Signed-off-by: Adrian Keet <arkeet@gmail.com>
* config: Replicape config updates with pin aliases (#3269)Jon C2020-09-011-0/+28
| | | | | | | | | Adding board_pins section. Added linux host MCU board pin aliases for endstops. Also added a sample filament switch sensor config. Signed-off-by: Jon Charnas <goeland86@gmail.com>
* config: Add printer-creality-ender3pro-2020.cfg to printers.testKevin O'Connor2020-08-302-3/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Added example config for Ender 3 Pro with 32-bit Creality 4.2.2 ↵Matthias Liffers2020-08-301-0/+103
| | | | | | | board (#3264) From July 2020, Ender 3 Pros came with a 32-bit Creality 4.2.2 board, similar to the Ender 3 V2. Unlike the Ender 3 V2, it comes with the ST7920 LCD screen and HR4988 steppers. Using the config file already in Marlin source, I came up with this klipper config file. Signed-off-by: Matthias Liffers <m@tthi.as>
* update_chitu: Rename script and minor changesKevin O'Connor2020-08-302-20/+24
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Minor updates to printer-tronxy-x5sa-v6-2019.cfgKevin O'Connor2020-08-302-11/+8
| | | | | | Minor changes to default config and add to printers.test. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Added TronXY X5SA support (#3265)Cabia Rangris2020-08-303-0/+273
| | | | | | | Added printer-tronxy-x5sa-v6 config. Added "chitu" bootloader option to stm32 Kconfig. Added chitu_crypt. Signed-off-by: Vladimir Serov <me@cab404.ru>
* kin_shaper: Fix check for optimized X or Y only calculationsKevin O'Connor2020-08-301-5/+4
| | | | | | | The optimized version is only available if it's the only axis used. This fixes input_shaper on corexz. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* kin_shaper: Add an init_shaper() helper functionKevin O'Connor2020-08-301-26/+22
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* kin_shaper: Group shaper setup code togetherKevin O'Connor2020-08-301-90/+93
| | | | | | No code changes - just code movement. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* kin_shaper: Allocate space for maximum number of shaper pulses in advanceKevin O'Connor2020-08-301-110/+99
| | | | | | | | Combine the shaper pulses and count of those pulses into a `struct shaper_pulses`. Allocate space for the maximum number of pulses in `struct input_shaper`. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* webhooks: Add client_info parameter to "info" webhookKevin O'Connor2020-08-262-14/+32
| | | | | | | Allow clients to send their version info to klipper and arrange for that info to be logged. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Expand on host computer restrictions in the FAQKevin O'Connor2020-08-261-0/+12
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* menu: only render visible list itemsJanar Sööt2020-08-261-35/+34
| | | | Signed-off-by: Janar Sööt <janar.soot@gmail.com>
* menu: fixing input gcode run issue on edit startJanar Sööt2020-08-261-0/+4
| | | | Signed-off-by: Janar Sööt <janar.soot@gmail.com>
* stale-issue-bot: Enable github actions to handle stale issuesKevin O'Connor2020-08-241-0/+31
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* display: Allow redrawing the screen up to 10 times per secondKevin O'Connor2020-08-241-3/+8
| | | | | | | | Increase the maximum redraw rate from 4 times per second to 10 times per second. Some users have reported slower rendering times as a result of 8fa1c977. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Tarantula Pro - Multiple tweaks and description change (#3230)Oliver Fawcett-Griffiths2020-08-241-12/+15
| | | | | | | | | | | | The following parameters have been tweaked: - X endstop position has been set to -2, as per original marlin cofig - Second Z axis disabled by default (this must be purchased as an add-on) The comment at the top of this file has also been modified to describe the difference between this (old) model and the new (rebranded) Tevo Tarantula pro. Signed-off-by: Oliver Fawcett-Griffiths <olly@ollyfg.com>
* gcode: Fix out-of-order cmd_M112 referenceKevin O'Connor2020-08-231-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* adc_temperature: Minor simplification of default sensor registrationKevin O'Connor2020-08-231-16/+15
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add example printer-tevo-tarantula-pro-2020.cfg config (#3225)Oliver Fawcett-Griffiths2020-08-232-0/+95
| | | Signed-off-by: Oliver Fawcett-Griffiths <olly@ollyfg.com>
* adc_temperature: Calculate "PT100 INA826" values from formulaKevin O'Connor2020-08-221-13/+7
| | | | | | Calculate the "PT100 INA826" values instead of using a voltage table. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* adc_temperature: Calculate PT1000 temperature/resistance pairs from formulaKevin O'Connor2020-08-221-4/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add a .gitignore file for intermediate files in lib/ directoryKevin O'Connor2020-08-211-0/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode_move: Move GCodeMove class from gcode.py to new extras moduleKevin O'Connor2020-08-2011-284/+296
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Document printer.gcode_move variables in Command_Templates.mdKevin O'Connor2020-08-201-7/+32
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Split G0/G1 command handling to new gcode_move classKevin O'Connor2020-08-2015-194/+219
| | | | | | | | Split up the main GCodeParser class into GCodeDispatch and GCodeMove classes. The GCodeMove class is now available using the "gcode_move" printer object name. This split simplifies the gcode.py code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: Move G4 and M400 commands from gcode.py to toolhead.pyKevin O'Connor2020-08-202-9/+11
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Convert get_status() last_xpos to use a namedtupleKevin O'Connor2020-08-202-6/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Remove unneeded base_xpos variables from get_status()Kevin O'Connor2020-08-202-8/+6
| | | | | | Convert the only user of base_zpos to use gcode_position. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Convert get_status() homing_xpos to use a namedtupleKevin O'Connor2020-08-202-4/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Remove unused move_xpos get_status() variablesKevin O'Connor2020-08-201-4/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Add idle_timeout get_status() info to Command_Templates.mdKevin O'Connor2020-08-201-0/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: Remove unused get_stats() dataKevin O'Connor2020-08-201-10/+2
| | | | | | | The "status" and "printing_time" are now available in the "idle_timeout" module, so no need to report them from toolhead. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Remove "action_" commands from get_status() callsKevin O'Connor2020-08-2010-61/+67
| | | | | | | | | | | | Rename printer.gcode.action_emergency_stop() to action_emergency_stop(), printer.gcode.action_respond_info() to action_respond_info(), and printer.gcode.action_respond_error() to action_raise_error() in command templates. This simplifies the get_status() interface, as returning callable functions from that interface was confusing. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: Add a manual_move() helper functionKevin O'Connor2020-08-206-55/+34
| | | | | | | | Add a helper function for submitting relative movements. This function will also automatically ensure gcode.reset_last_position() is called. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* skew_correction: Make sure to call reset_last_position() on a skew updateKevin O'Connor2020-08-201-7/+10
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Automatically call reset_last_position() on a toolhead set_position()Kevin O'Connor2020-08-208-9/+3
| | | | | | | | Generate a "toolhead:set_position" event on a call to toolhead.set_position() and use that event to automatically call gcode.reset_last_position(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* menu: reduce timeout timer period to 1sJanar Sööt2020-08-201-7/+2
| | | | Signed-off-by: Janar Sööt <janar.soot@gmail.com>
* display: Support requesting a screen redraw on a menu key pressKevin O'Connor2020-08-202-12/+23
| | | | | | | | Add a request_redraw() method and call it when a key menu event occurs. Limit these proactive screen redraws to no more than 4 per second. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* hall_filament_width_sensor: Fix Flow update before next pending_position ↵alocin732020-08-192-26/+24
| | | | | | | | | #3184 (#3198) After reading the first item of self.filament_array, filament_width is updated back to self.nominal_filament_dia or self.diameter instead of retaining the value until next pending_position. Updated Filament Menu Template. Signed-off-by: Nicola Falciani <nicola.fal@gmail.com>
* menu: remove surplus self.running=FalseJanar Sööt2020-08-181-2/+0
| | | | Signed-off-by: Janar Sööt <janar.soot@gmail.com>
* menu: optimize container populateJanar Sööt2020-08-181-13/+8
| | | | | | | | | - don't populate all items at once - populate items when container is pushed to stack - precreate List back item, don't create it during populate. - don't update items during populate Signed-off-by: Janar Sööt <janar.soot@gmail.com>
* graph_temp_sensor: Add tool to graph ADC resolution of temperature sensorsKevin O'Connor2020-08-171-0/+142
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>