168 Commits (c0005e939cf9c1d9db16f20e605c3228bc41a758)

Author SHA1 Message Date
Scott Lahteine e874f9664c Tweaks to endstops code 6 years ago
Scott Lahteine c986239837
A single SERIAL_ECHO macro type (#12557) 6 years ago
Scott Lahteine caca3c8503 Use wait_for_bed with WAIT_FOR_BED_HEATER
Addressing #12517
7 years ago
Scott Lahteine a0c795b097
Encapsulate common display code in a singleton (#12395)
* Encapsulate common LCD code in a singleton
* Depend more UBL code on UBL_DEVEL_DEBUGGING
  - Since most users don't need the debugging on at all times, this helps reduce the default build size for UBL by over 2K, a little closer to fitting on 128K boards.
7 years ago
Giuliano Zaro fd7fd55662 Solve endstops issues (#12382)
- Partially reverts #11900 and tries to solve #12336
7 years ago
Scott Lahteine 525ea554a1 Remove obsolete comments 7 years ago
Scott Lahteine d1ff22b983 Revive SCARA's home offset (unimplemented) 7 years ago
Scott Lahteine 2c9586be0c Clear up HAS_WORKSPACE_OFFSET meaning 7 years ago
Scott Lahteine 44f2a82a56 Move axis_homed, axis_known_position to motion.* 7 years ago
TheLongAndOnly 5536228359 G34 Auto-align multi-stepper Z axis (#11302) 7 years ago
Scott Lahteine 53c535a0c1 Remove trailing whitespace 7 years ago
Luc Van Daele 7243101135 z_offset fix for deltas (#12210) 7 years ago
Scott Lahteine d556dc1865
Fix and improve EEPROM storage (#12054)
* Clean up Temperature PID
* Improve EEPROM read/write/validate
* Group `SINGLENOZZLE` saved settings
* Group planner saved settings
* Group filament change saved settings
* Group skew saved settings
* Group `FWRETRACT` saved settings
7 years ago
Scott Lahteine 3c40933713 Remove trailing spaces, old comment 7 years ago
AnoNymous b30ca652ae Replace MIN# / MAX# with variadic MIN / MAX (#11960) 7 years ago
Thomas Moore 3286325044 Add TMC2130 sensorless probing 7 years ago
InsanityAutomation 1104054d73 2.0 IDEX Independent z offset and other fixes (#11862)
* Add Formbot Raptor board

Co-Authored-By: InsanityAutomation <insanityautomation@users.noreply.github.com>

* Add a second Z probe Z offset

Co-Authored-By: InsanityAutomation <insanityautomation@users.noreply.github.com>

* Modify method to utilize live adjustment of hotend z offset

Should probably move config option to babystepping and rename as it may now apply to all multiextruder systems

* Move config item and catchup other code to current method
7 years ago
Scott Lahteine c5e5cc5e9f Fix some trailing whitespace, macros 7 years ago
Roxy-3D 0780913848 IDEX Improvements (#11848) 7 years ago
Thomas Moore c437bb08f1 Overhaul of the planner (#11578)
- Move FWRETRACT to the planner
- Combine leveling, skew, etc. in a single modifier method
- Have kinematic and non-kinematic moves call one planner method
7 years ago
Holger Müller 1a6f2b29b8 Add support for Triple-Z steppers/endstops 7 years ago
Scott Lahteine d882717d98
Save some PROGMEM with constexpr (#11798)
When possible, make `active_extruder` a `constexpr` to save some PROGMEM.
7 years ago
Scott Lahteine 0c01099f17 hop_amount => current_hop 7 years ago
Scott Lahteine dcfde2317f
Pass segment length in prepare_kinematic_move_to (#11737) 7 years ago
Scott Lahteine d1ceaf5550
[2.0.x] Followup to IDEX changes (#11707) 7 years ago
Roxy-3D 7680b64aa6
IDEX clean up (#11690) 7 years ago
Scott Lahteine d1c9517903 Followup to hotend_offset[Z] patch 7 years ago
Scott Lahteine 9c62c47579
[2.0.x] Fix Dual X Carriage tool change crash (#11447) 7 years ago
Giuliano 74900f7a70 [2.0.x] bltouch home refinements (#11397)
Just create  a better functions call logic flow
7 years ago
Giuliano 5ce5ff8e9b [2.0.x] fix bltouch homing (#11379)
Partially revert. Seems to solve the issue, but one report says G29 still fails.
7 years ago
Giuliano 4237c3d9f8 [2.0.x] different bltouch init (#11135) 7 years ago
Giuliano e5ea9d200f [2.0.x] fix kill printer (#11260)
This will fix kill message on dual printer with 0 alignment offset
7 years ago
etagle 1367df2875 Replace double with float, optimize calculation 7 years ago
Scott Lahteine c51e27d11d
Do a hard kill for failed homing moves (#11161) 7 years ago
Scott Lahteine 8eaac0dab3
Add delta feedrate scaling (#11153) 7 years ago
Scott Lahteine f2c3b0d476 Use bit flags for homed/known 7 years ago
Giuliano b64cc9329e [2.0.x] Fix dual enstop home (#10980) 7 years ago
Scott Lahteine ad8d3150aa Cleanup for dual endstops homing 7 years ago
etagle a11eb50a3e Refactor and optimize Stepper/Planner
Better encapsulation and considerably reduce stepper jitter
7 years ago
Scott Lahteine 50270b53a0 Clear up some more compile warnings 7 years ago
Scott Lahteine 836b0bbeee Fix MBL line_to_destination
Fix #10708
7 years ago
Scott Lahteine 08e36e264e Apply _AXIS macro 7 years ago
Scott Lahteine 99ecdf59af Smarter MIN, MAX, ABS macros
Use macros that explicitly avoid double-evaluation and can be used for any datatype, replacing `min`, `max`, `abs`, `fabs`, `labs`, and `FABS`.

Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 8f8c6a9bc4
Move get_axis_position_mm to Planner (#10718) 7 years ago
Scott Lahteine 306f0f2135
Move Stepper::synchronize to Planner (#10713)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 23a876b08d Update a comment in motion.cpp 7 years ago
Scott Lahteine bfe223e120 Adjust usage of stepper.synchronize 7 years ago
Scott Lahteine 2c1205d8b1 Improve debug of homing move feedrate 7 years ago
Scott Lahteine c8e4b7c8a6 Fix XY homing move away rate 7 years ago
Scott Lahteine 4dfc011d86 Fix homing with probe feedrates 7 years ago
Scott Lahteine 7546f87949 Allow a home bump of 0 when homing Z with probe 7 years ago
Scott Lahteine 683dc24e0f When homing with Z probe bump at Z_PROBE_SPEED_SLOW 7 years ago
Scott Lahteine cb46cb8480
Add HAS_HEATED_BED conditional (#10495) 7 years ago
Scott Lahteine a90cbc6339
[2.0.x] Wait for bed heaters between probing (#10472) 7 years ago
Luc Van Daele 12785583d0 [2.0.x] G33 MIN_STEPS_PER_SEGMENT (#10386) 7 years ago
Luc Van Daele 646aa20b43 Overhaul of G33 Delta Calibration (#8822) 7 years ago
Scott Lahteine e8e60263c8 Scale feedrate (mm/s to deg/s) for SCARA 7 years ago
Scott Lahteine b852781eba Fix BLTOUCH compile error
Followup to #10250
7 years ago
Scott Lahteine dbe2b6f7b0 Do moves towards endstops differently in do_homing_move 7 years ago
Scott Lahteine 1cb810ff1c
[2.0.x] Automatically reset stepper timeout (#10179)
* Automatically reset stepper timeout in manage_inactivity

Any code that adds moves to the planner can skip resetting the stepper timeout. We can let `idle` / `manage_inactivity` reset the timer whenever it detects any moves in the planner.

* blocks_queued => has_blocks_queued
7 years ago
Scott Lahteine 9fd1016bb1 Trust the bootloader to clear globals 7 years ago
Scott Lahteine a6feb58837
Delta support for multiple hotends with offsets (#10118) 7 years ago
Studiodyne e7a61de8af [2.0] FWRetract Reset (Best way) (#10083) 7 years ago
Scott Lahteine 07cf2cd9c4 Fix sensorless_homing_per_axis compile warning 7 years ago
Scott Lahteine 468f34104b Patch do_blocking_move_to so 'destination' can be used 7 years ago
Thomas Moore f3914a432e Clear retracted status when homing the Z axis 7 years ago
Studiodyne 23a576faf7 [2.0] Fix for FW retract (#9878) 7 years ago
Scott Lahteine 91db7930dc Drop SCARA_FEEDRATE_SCALING
The updated planner takes the length of the move, so this pre-calculation is no longer needed.
7 years ago
Scott Lahteine a446433c87
Fix SENSORLESS_HOMING for Core Kinematics (#9868) 7 years ago
Thomas Moore 1541224a81 Enable Z axis and delta sensorless homing (#9516) 7 years ago
Thomas Moore 786746404b [2.0.x] Apply feedrate to nozzle movement for kinematic machines (#8778) 7 years ago
GMagician ea9ad4e46d [2.0.x] Fix compile error on delta when NO_WORKSPACE_OFFSETS (#9388) 7 years ago
Thomas Moore 7035471982 Clear retracted status when homing the Z axis 7 years ago
Scott Lahteine 51c7b5d46f Fix set_home_offset bug from bad porting 7 years ago
Thomas Moore 44239b1062 Allow DELTA to compile with soft endstops disabled 7 years ago
Scott Lahteine d80c4f1a6e Fix typo in delta call to buffer_line
Fix #8901
7 years ago
Scott Lahteine 705ea98fd3 Comment `return false` in motion functions 7 years ago
Scott Lahteine caa5093498 General DELTA_IK macro 7 years ago
Scott Lahteine c694608450 Apply SCARA_FEEDRATE_SCALING to G2/G3 7 years ago
teemuatlut 0cd1e91056 [2.0.x] TMC driver update (#8769) 7 years ago
Scott Lahteine 24f9bec6f4 UBL + DUAL_X_CARRIAGE compatibility 7 years ago
Scott Lahteine a71d2f3f40 UBL_DELTA => UBL_SEGMENTED 7 years ago
Scott Lahteine 73e32925e4 References are better for array args 7 years ago
Scott Lahteine 03ba79f144 Sync and report changed position 7 years ago
Scott Lahteine 81c0a918af feed_factor => inverse_secs 7 years ago
Scott Lahteine 840289e7cc Use block cleaning instead of split flag 7 years ago
AnHardt a993c5227d Don't split first_move while homing or probing
While homing or probing it might be bad if the stop/trobe triggers during the first part and the second is still in the buffer.
7 years ago
Scott Lahteine 63a91cd37a Fix a homing comment 7 years ago
Scott Lahteine 000b3b3117 Comment/cleanup of motion code 7 years ago
Scott Lahteine ef2531558c Add an option to segment leveled moves 7 years ago
AnHardt 02aa93a6ad Fix Watchdog time out during long lasting DELTA moves
During long lasting moves of a delta machine neither the temperatures are maintained nor buttons checked nor ... .
The fix is to call 'manage_heater()' and 'idle()' every now and then in the loop where the move is segmented. 
The code is abot the same as in G2_G3 wher we had the same problem with too large circles lasting too long.
Fixing #7510
8 years ago
Scott Lahteine 25674da90c Tweaks to do_blocking_move 8 years ago
Scott Lahteine f5d210c35c Fix report_current_position 8 years ago
Scott Lahteine 06ee6584fd Remove offsets from soft endstops, tool change 8 years ago
Scott Lahteine d4a1154c25 Use do_blocking_move_to where possible 8 years ago
Scott Lahteine cba9c1cf9e Add pre-calculated planner.e_factor 8 years ago
Thomas Moore 600c85226e Normalize load/unload length in M600 8 years ago
Scott Lahteine c66696c507
Merge pull request #8344 from tcm0116/2.0.x-delta_height
[2.0.x] Add delta_height variable in lieu of using home_offset
8 years ago
Scott Lahteine 0cfb936dd1 Clarify some motion code 8 years ago
Thomas Moore f34c3597dc Add delta_height variable in lieu of using home_offset 8 years ago