180 Commits (7a42132002c701d59e62cea6a11a378b52805372)

Author SHA1 Message Date
Nils Hasenbanck b37bfeffeb [2.0.x] Use the new const functions of the persistentStore api (#11544) 6 years ago
Dave Johnson c64199941e Compile only selected PIO environment (#11519) 6 years ago
Scott Lahteine a4b0148365 Easier to find 'static inline' 6 years ago
Nils Hasenbanck 577aeb4aa9 All EEPROM access uses persistentStore 6 years ago
Chris Pepper 66d2b48b59 Update PersistentStore api (#11538)
- Clean up the API to use a `static` class instance to adhere to Marlin convention
- Add `const` position data access for read/write
- Add Storage capacity to the interface
6 years ago
Scott Lahteine e05e95cf97 Clean trailing whitespace 7 years ago
Roxy-3D 62fa028155
Handle dual gantry machines better 7 years ago
Roxy-3D 09485f63e9
add missing ')' 7 years ago
Scott Lahteine 2106fa26b1 Add MANUAL_PROBE_START_Z for manual probing 7 years ago
Scott Lahteine 17ed0f815c Fix tool_change call in UBL G29
Fix #11279, #11252
7 years ago
Scott Lahteine 63f4c9bdb9 Followup to float maths patch 7 years ago
etagle 1367df2875 Replace double with float, optimize calculation 7 years ago
Roxy-3D 1d7dd0edfd
Add the move_z_after_probing() functionality to UBL's G29 J 7 years ago
Scott Lahteine a2a30ff0ac Use Tool 0 for Dual X Axis G29
See https://github.com/MarlinFirmware/Marlin/issues/5597#issuecomment-397683325
7 years ago
Scott Lahteine d4795e5b8e
[2.0.x] Tweaks and additions for MAX7219 (#11034) 7 years ago
Eduardo José Tagle 6f330f397e [2.0.x] Buffer overflow and scroll fix, UTF8 cleanup (#10844) 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 eb2eb72720
Modify UBL mesh_is_valid and use in leveling_is_valid (#10746) 7 years ago
Scott Lahteine 836b0bbeee Fix MBL line_to_destination
Fix #10708
7 years ago
Scott Lahteine ba4c32eec5 Followup to _AXIS patch 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 d7b699ec34 Fewer includes of vector_3.h 7 years ago
Scott Lahteine 05c33833e7
[2.0.x] Add NO_LCD_MENUS option (#10582) 7 years ago
Scott Lahteine 59fda986ea Allow Z_AFTER_PROBING to be 0 7 years ago
Scott Lahteine 8db7fb226a Fix M420 C for UBL 7 years ago
Scott Lahteine eef0248a1c
Add M420 C to adjust the whole mesh (#10522) 7 years ago
Scott Lahteine c82dd5129f Revert potentially-not-redundant UBL test
Response to #10435
7 years ago
Scott Lahteine 3396671011
[2.0.x] Reset LCD status to fallbacks (#10470)
* Remove obsolete strings
* Tweak some static consts
* Reset LCD status to fallbacks
7 years ago
Roxy-3D 23635c2b64
Update ubl_motion.cpp
Restore necessary and needed loop termination logic.
7 years ago
Scott Lahteine ad6baa5c9d Fix for UBL set_bed_leveling_enabled 7 years ago
Scott Lahteine e05c825a05 Update position for UBL non-segmented activate/deactivate 7 years ago
Scott Lahteine 0746aff595 Improve UBL mesh report. Add M420 T, M421 N 7 years ago
Scott Lahteine 0945674ba2
Use H0 by default with UBL_MESH_EDIT_MOVES_Z (#10428) 7 years ago
Roxy-3D 21f13f9e57
Stow Probe at end of G29 J3 7 years ago
Scott Lahteine 3bc179a16f Compress/update comments ubl_motion
…to fit more code on the screen and correct outdated commentary contrasting ABL.
7 years ago
Scott Lahteine 1a75165f35 For set_z_fade_height use set_bed_leveling_enabled 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
Roxy-3D c3c264978f
correct truncated comment 7 years ago
Scott Lahteine bc45fb6b13 Tweak use of move_z_after_probing 7 years ago
Scott Lahteine c352954882 Allow no raise after run_z_probe in probe_pt 7 years ago
Scott Lahteine ae39fbd646 Also suppress keepalive with suspend_auto_report 7 years ago
Scott Lahteine dd2949922b Consolidate 3-point leveling point options 7 years ago
Scott Lahteine 1d22609473 MIN_PROBE_EDGE replaces DELTA_PROBEABLE_RADIUS 7 years ago
Scott Lahteine c0d694d5d3 Squash UBL postscript comment 7 years ago
Scott Lahteine 14c03cb6f4
[2.0.x] Make MIN_PROBE_EDGE a general option (for electronic probes) (#10069)
Some probes don't work near the edges of the bed. This change promotes MIN_PROBE_EDGE to a general setting that applies to all probing functions.
7 years ago
Scott Lahteine 28f1276286
[2.0.x] Add Z_AFTER_PROBING option (#10058)
Some "fix-mounted" probes need manual stowing. And after probing some may prefer to raise or lower the nozzle. This restores an old option but tailors it to allow raise or lower as preferred.
7 years ago
Scott Lahteine d0ac0151b6 Fix typo in ubl.prepare_segmented_line_to 7 years ago
Scott Lahteine 239902f861 Fix E2END and add EEPROM to Smart RAMPS
Reference #9983
7 years ago
Roxy-3D 26dc594ebb prevent steppers from turning off during manual probes 7 years ago
Scott Lahteine ca577c1638 Fix up various spacing, comments, and typos 7 years ago
Scott Lahteine 9515e5aefb Fix LA_active_extruder (static) 7 years ago
Scott Lahteine 1d604be671 Suspend auto-report during UBL map output 7 years ago
Scott Lahteine 2057177184 Make enums into implicit char 7 years ago
Scott Lahteine 24b9c1923f ubl G29 tweaks 7 years ago
Scott Lahteine 7bdb98c946 Fix #9826. Solution by @gloomyandy 7 years ago
Roxy-3D 306f44198e Prevent serial buffer overrun in Pronterface
75ms might  be excessive...    But I know people are seeing problems with PronterFace as the client...
7 years ago
Scott Lahteine 966d9af98a Mesh export in Bilinear + UBL M503 7 years ago
Scott Lahteine 2228dff3ea ubl.h compile flags from 1.1.x 7 years ago
Scott Lahteine f3dbe19669 Tweaks to HAL codestyle 7 years ago
Roxy-3D d504bbbfa4 Fix botched check for being off the mesh... 7 years ago
Scott Lahteine 241e55ef3b Apply SERIAL_FLUSH macro 7 years ago
Scott Lahteine 304e0f8945 Followup to 21e60fd
`ENABLED` only works for flag-type options. Floats must use `#ifdef`.
7 years ago
Roxy-3D 21e60fd3ed
Allow user to control Z-Height correction for off mesh movements (#9661) 7 years ago
Scott Lahteine 8d71ad37cb flush comment to match 1.1.x 7 years ago
Scott Lahteine 89165326b4 Cleanup after vim and vigor 7 years ago
Scott Lahteine 8a6feab1c4 Num-to-string functions for DEBUG_LEVELING_FEATURE 7 years ago
Scott Lahteine e5ee0b6f6c Implement MALYAN_LCD 7 years ago
Scott Lahteine 2bea1bda56 Move more strings to PROGMEM 7 years ago
Scott Lahteine 1dcfe193ac Optimize some serial strings 7 years ago
Roxy-3D bfd9728cf4
Serial buffer over run work around for v2.0.0 (#9236)
* Work around for serial buffer over run

PronterFace sends a lot of M105 commands.  During long operations such
as UBL's G29 P1, G29 P2, G29 P4 and G26 this can over run the serial
buffer.   This results (very often) in a M1 (actually a M1M105) ending
up in the command queue.

Until we figure out a better way to resolve this issue, this will keep
the UBL commands from experiencing bogus commands at thier completion.
7 years ago
Roxy-3D af9b32e3b9
Give PronterFace time to print the UBL What information...
Give PronterFace time to print the UBL What information...
7 years ago
Roxy-3D f5f1b069ad
Convert UBL mesh tilting to all use the same algorithm (#9204)
A number of regressions were patched also. The UBL G29 P2 and P4 Press and Hold had stopped working. It is very possible this is broken in the bugfix_v1.1.x branch also.

The main purpose of the Pull Request is to get the 3-Point mesh tilting to use the LSF algorithm just like the grid based mesh tilt. This simplifies the logic and reduces the code size some what. But the real reason to do it is the 3-Point case can be solved exactly. And by feeding these numbers into the LSF algorithm it provides a way to check all that code for 'correctness'.
7 years ago
Thomas Moore f7efac57b7 Multi-host support 7 years ago
Scott Lahteine 60d07f20e7 Make mbl.has_mesh() a method 7 years ago
Scott Lahteine 86818c9a89 Move MBL functions into the class 7 years ago
Scott Lahteine e89f1453ab UBL G29 works without settings.load() 7 years ago
Scott Lahteine 4ef965cc40 Fix compiler warnings 7 years ago
Scott Lahteine 4b49ea1e92 General cleanup of config-store, reset_bed_level 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 d568e586b7 Fix up ubl_motion indentation 7 years ago
Scott Lahteine 6d0678d963 Omit unused UBL motion code 7 years ago
Scott Lahteine 3255712343 Skew Correction for UBL
Also remove unused grid slicing function when using UBL segmented.
7 years ago
Scott Lahteine 3d796d8040 Move debug code 7 years ago
Scott Lahteine 3db5303bfe _buffer_line => buffer_segment 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 204199e1ce Only compare XYZ to check motion 7 years ago
Scott Lahteine 03ba79f144 Sync and report changed position 7 years ago
Roxy-3D f58eb391aa [2.0.0] Better off mesh behavior for UBL (#8714)
* Better off mesh behaviour for UBL

* Suggested ubl.h changes
7 years ago
Scott Lahteine cdfabbc507 Shorten error text in G29 7 years ago
Scott Lahteine c846388a65 Standardize LCD interface code for UBL a little 7 years ago
Scott Lahteine 2fde60da12 Changes for parity with 1.1.x 7 years ago
Scott Lahteine 24437de591 Use custom segment length for UBL Cartesian 7 years ago
Roxy-3D 48fb4e0932
Get Bi-Linear to work with G26
More corrections to make that happen...
7 years ago
Roxy-3D 0850b38b45
Get Bi-Linear working with G26
G26 uses logic that looks like:
```
ex = _GET_MESH_X(i + 1) - (SIZE_OF_INTERSECTION_CIRCLES - (SIZE_OF_CROSSHAIRS));
```
The Bi-Linear macros need parenthesis to work correctly.
7 years ago