28 Commits (41bfff14e2f5d1906cd9111f90756f3665233fff)

Author SHA1 Message Date
Scott Lahteine 6c45d0fd81 Apply maths macros and type changes ahead of HAL 8 years ago
Scott Lahteine e94f79ccea Patch some serial macros 8 years ago
Scott Lahteine a27b08e6af Various code style tweaks 8 years ago
oldmcg 9f295581f0 Ubl delta fixes and improvements (#6941)
* 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
8 years ago
Scott Lahteine a3645ec921 Reference op with variable name 8 years ago
Scott Lahteine ad915b667e One more mesh_index_to_npos update
Followup to #6827
8 years ago
Scott Lahteine 85b967657e Embed G26/G29 in ubl class, with enhancements 8 years ago
Scott Lahteine 6b6630e11b Clean up trailing whitespace and tabs 8 years ago
oldmcg 5a9e52a3e0 Use COPY_XYZE macro to copy exactly 4 elements (#6758)
Fix undefined DELTA_PROBEABLE_RADIUS for UBL_DELTA
8 years ago
Scott Lahteine 14a4257c7b UBL tabs, whitespace, spelling, etc. 8 years ago
oldmcg b213a45efb UBL_DELTA post merge cleanup (#6705)
* 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.
8 years ago
Roxy-3D 6f86c46fa6 Fix typo that caused scope issues for DELTA (#6750) 8 years ago
Roxy-3D 1fbcbc05f6 UBL no longer flout's the sacred GCode standard (#6745)
Also clean up ubl_motion.cpp debug info and fix declaration of cx & cy
8 years ago
Scott Lahteine 0696dda470 Cleanups to UBL_DELTA 8 years ago
oldmcg 91841d75c9 UBL_DELTA (#6695)
UBL on Delta's....     Should be close!    Should not affect any Cartesian printer.
8 years ago
Brian 4da14b14f4 UBL Cleanup/Bugfix
- Fix bug in ubl_line_to_destination
- Improve/fix output of some ubl.h functions
8 years ago
Scott Lahteine 71396f77d3 Cleanups following recent commits 8 years ago
Roxy-3D 110afff415 More misc UBL fixes and update gMax examples (#6632)
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.
8 years ago
Scott Lahteine c4e34adcf1 Apply formatting, coding standards to UBL 8 years ago
Scott Lahteine b93be716cf Remove trailing whitespace 8 years ago
Scott Lahteine 0449f69179 Cleanup patch to recent merge 8 years ago
Roxy-3D 41e63bbb7c Fix Horizontal and Vertical UBL optimization bug. (#6540)
* Fix Horizontal and Vertical optimization bug.

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

* Yeah Baby!

The debug print is going A - OK !
8 years ago
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
8 years ago
Scott Lahteine cd72901fb7 Cleanups to UBL code 8 years ago
Roxy-3D 2509587b5a Correct over optimization of pre-initialized variables (#6500)
* 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
8 years ago
Brian f1a4758cef use progmem instead of sram for mesh_index_to_x/ypos array;
fix maximum mesh_index_ array size at 16 (15+1);
8 years ago
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'.
8 years ago
Scott Lahteine f5c5c1f771 Rename all UBL files with a ubl_ prefix 8 years ago