Commit Graph

28 Commits (6c97c5595cfdbd88b01a10b5558b184c9b8c4514)

Author SHA1 Message Date
Scott Lahteine 6c45d0fd81 Apply maths macros and type changes ahead of HAL
Scott Lahteine e94f79ccea Patch some serial macros
Scott Lahteine a27b08e6af Various code style tweaks
oldmcg 9f295581f0 Ubl delta fixes and improvements ()
* Change all direct changes of ubl.state.active to
  set_bed_leveling_enabled() which handles apply/unapply
  leveling to maintain current_position consistency.

Fix invalidation of UBL mesh to invalid unreachable
  mesh points as well (delta corners).

Fix UBL_DELTA unapply_leveling logic and when
it gets applied, including fade_height changes.

Add optional M114 D for detailed position information,
disabled from compilation by default (M114_DETAIL).

* UBL_DELTA raw and inline kinematics

* UBL planner fall through fix

* consistent variable names

* Cleanup orphaned code and whitespace changes.
Use _O2.

* compile warnings cleanup

* Remove redundant #ifdef condition
Scott Lahteine a3645ec921 Reference op with variable name
Scott Lahteine ad915b667e One more mesh_index_to_npos update
Followup to 
Scott Lahteine 85b967657e Embed G26/G29 in ubl class, with enhancements
Scott Lahteine 6b6630e11b Clean up trailing whitespace and tabs
oldmcg 5a9e52a3e0 Use COPY_XYZE macro to copy exactly 4 elements ()
Fix undefined DELTA_PROBEABLE_RADIUS for UBL_DELTA
Scott Lahteine 14a4257c7b UBL tabs, whitespace, spelling, etc.
oldmcg b213a45efb UBL_DELTA post merge cleanup ()
* UBL_DELTA post merge cleanup:
   fix fade_height, lost during some previous merge
   fix float cx,cy which are not const
   move repeated z_cxcy calc line inside loop
   style fixes and comment fixes/alignment

* Update ubl_motion.cpp

remove unnecessary parentheses

* Update Conditionals_post.h

Change name of define to more accurate meaning:
UBL_GRANULAR_SEGMENTATION_FOR_CARTESIAN
which is not and should not be the default for cartesians with UBL.
Roxy-3D 6f86c46fa6 Fix typo that caused scope issues for DELTA ()
Roxy-3D 1fbcbc05f6 UBL no longer flout's the sacred GCode standard ()
Also clean up ubl_motion.cpp debug info and fix declaration of cx & cy
Scott Lahteine 0696dda470 Cleanups to UBL_DELTA
oldmcg 91841d75c9 UBL_DELTA ()
UBL on Delta's....     Should be close!    Should not affect any Cartesian printer.
Brian 4da14b14f4 UBL Cleanup/Bugfix
- Fix bug in ubl_line_to_destination
- Improve/fix output of some ubl.h functions
Scott Lahteine 71396f77d3 Cleanups following recent commits
Roxy-3D 110afff415 More misc UBL fixes and update gMax examples ()
I think I forgot to Sync before I committed last time.   Some UBL
changes did not stick.

Also, update the gMax configuaration.h file so other than unique numbers
and settings, it exactly matches the default configuration.h file.
Scott Lahteine c4e34adcf1 Apply formatting, coding standards to UBL
Scott Lahteine b93be716cf Remove trailing whitespace
Scott Lahteine 0449f69179 Cleanup patch to recent merge
Roxy-3D 41e63bbb7c Fix Horizontal and Vertical UBL optimization bug. ()
* Fix Horizontal and Vertical optimization bug.

And drastically reduce the debug code foot print....

* Yeah Baby!

The debug print is going A - OK !
Brian 4e1448e75a Various fixes for compiler warnings
add BLTouch-related messages in english and (rusty) french;
add missing endstops.h in ultralcd.cpp;
fix misc. compiler warnings;
fix lsf_reset - ZERO macro can't handle a pointer as it would only memset the size of the pointer, not the size of the entire struct
Scott Lahteine cd72901fb7 Cleanups to UBL code
Roxy-3D 2509587b5a Correct over optimization of pre-initialized variables ()
* Correct over optimization of pre-initialized variables

NEAR_ZERO() works most of the time...  But it leaves corner cases
uncovered.  We need to explicitly check if these variables are +/-
infinity.

* Correct over optimization of pre-initialized variables
Brian f1a4758cef use progmem instead of sram for mesh_index_to_x/ypos array;
fix maximum mesh_index_ array size at 16 (15+1);
Roxy-3D 1451b7eacf UBL's Grid Based Leveling code
Pretty much...  The code is in place.  Still more work to do.    But it
has a lot of hooks and variables in other code, so commit and merge
before I pick up a million 'Conflicts'.
Scott Lahteine f5c5c1f771 Rename all UBL files with a ubl_ prefix