62 Commits (c8a83fb1228d0c263b195b7f3f358345d4893a39)

Author SHA1 Message Date
Roxy-3D 9cee81d47e Option to show babysteps total since G28 (#13580) 6 years ago
Marcio Teixeira c6466c23fe Silence signed/unsigned comparison warning. (#13508) 6 years ago
7eggert d96f7d6068 Minimum segments for G2/G3. Better for small arcs. (#13466) 6 years ago
Scott Lahteine 49cf92dc36
Extended condition macros (#13419)
Allow `ENABLED`, `DISABLED`, `PIN_EXISTS`, and `BUTTON_EXISTS` to take multiple arguments. Also add:
- Alias `ANY(...)` for `!DISABLED(...)`
- Alias `ANY_PIN(...)` for `PIN_EXISTS(a) || PIN_EXISTS(b) ...`
- Alias `EITHER(A,B)` for `ANY(...)`
- Alias `ALL(...)` and `BOTH(A,B)` for `ENABLED(...)`
- `NONE(...)` for `DISABLED(...)`
6 years ago
Scott Lahteine 87162658c4
Fix and improve software endstops (#13386) 6 years ago
Scott Lahteine 0feeef2604 Update copyright in headers 6 years ago
Ludy acf266fe78 Fix a compile warning, etc. (#12955) 6 years ago
Scott Lahteine c986239837
A single SERIAL_ECHO macro type (#12557) 6 years ago
Scott Lahteine 54ec5528a0 hasstatus => has_status 6 years ago
Roxy-3D cda5ef08fa
Debug of G2-G3 for UBL (#12386)
Changes only affect UBL.  Everything else is left alone.
6 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.
6 years ago
TheSFReader a07ac6312f G0 feedrate may be fixed or variable (#12172) 6 years ago
Scott Lahteine 84b59d58fb Clean up whitespace 6 years ago
TheSFReader af939c158a Option for G0 to have a separate feedrate (#12089) 6 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
6 years ago
Scott Lahteine ce82015d5f Fix include in G80 6 years ago
Scott Lahteine 55e810d512 Fix G80 compilation 6 years ago
Scott Lahteine 52a37913c1 Extend and apply some corrections 6 years ago
Victor Tseng 93839e2f73 Add option to enable/disable autoretract altogether (#11904) 6 years ago
Scott Lahteine cee34f7290
Followup for BABYSTEP_HOTEND_Z_OFFSET (#11916) 6 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
6 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
6 years ago
Scott Lahteine d10f29ae2e Pass segment length in G2-G3 6 years ago
etagle 1367df2875 Replace double with float, optimize calculation 7 years ago
Scott Lahteine 8eaac0dab3
Add delta feedrate scaling (#11153) 7 years ago
etagle a11eb50a3e Refactor and optimize Stepper/Planner
Better encapsulation and considerably reduce stepper jitter
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 306f0f2135
Move Stepper::synchronize to Planner (#10713)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine c43235dd39 Remove non-special comments 7 years ago
ManuelMcLure 613a3be167 Remove hidden dependencies on destination. Fixes #10686. (#10691) 7 years ago
Scott Lahteine 19f189b4e5
Add UBL support for G2/G3 and G5 (#10648) 7 years ago
Scott Lahteine e8e60263c8 Scale feedrate (mm/s to deg/s) for SCARA 7 years ago
Rob Power d1f14202a9 [2.0.x] NANODLP_Z_SYNC requires linear axes (#10240) 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 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 377108619b Fix plan_arc clockwise (G2)
Fix #9482
7 years ago
Scott Lahteine 9644fe1839 Lightly optimize arc length calculation 7 years ago
Scott Lahteine c694608450 Apply SCARA_FEEDRATE_SCALING to G2/G3 7 years ago
robpower 5595098063 V2 Extended NanoDLP_Z_Move_Sync to G4 & G28,Added all axis option. 7 years ago
Scott Lahteine 73e32925e4 References are better for array args 7 years ago
Scott Lahteine 4793c34c53 Fix M290 boolval bug
Fix #8577
7 years ago
Scott Lahteine d18d40e1d6 M290 report on change, P0 to leave Probe Z Offset alone 7 years ago
Scott Lahteine be00e421a7 Patch up M290, M851 7 years ago
Scott Lahteine ab03a31cc9 Patch G0/G1 for NANODLP_Z_SYNC 7 years ago
Scott Lahteine dc82babe8e Implement NANODLP_Z_SYNC for 2.0.x 7 years ago
Scott Lahteine 3bba7d60f3 No retroactive changes with M851 Z
If using babystep to adjust the Z probe offset, the axis will move and the mesh will be updated at the same time, causing a doubling of the Z offset over the rest of the print.

To correct for this, the current Z position would need to be modified in the opposite direction, canceling out the additional Z offset added to the mesh. This would be confusing to users, and moreover it would not be accurate without also taking the current Z fade level and current Z height into account.

It might make sense to change the mesh in the case where no babystepping is taking place, but this could be considered an undesirable side-effect of changing the `zprobe_zoffset`.

One way to remedy this would be to return to storing the mesh with `zprobe_zoffset` included, then subtracting `zprobe_zoffset` from the returned Z value. Thus, a babystep moving the Z axis up 1mm would subtract 1 from `zprobe_zoffset` while adding 1 to all mesh Z values.

Without including the `zprobe_zoffset` in the `z_values` there is no safe way to alter the mesh in conjunction with babystepping, although it's fine without it.
7 years ago
Scott Lahteine 50f09cc029 Miscellaneous cleanup 7 years ago
Scott Lahteine c938273bd5 Coding standard patch of M290 7 years ago
Scott Lahteine 85a62bbf46 Misc. fixes to compiler warnings, etc. 7 years ago
Scott Lahteine f8393a0908 Operate in Native Machine Space 7 years ago