157 Commits (0cd398c25d4101818c1d0a5ffc7566dede104404)

Author SHA1 Message Date
Scott Lahteine 14a4257c7b UBL tabs, whitespace, spelling, etc. 8 years ago
Scott Lahteine 233f824dd6 Define GRID_MAX_POINTS 8 years ago
Roxy-3D b63e82f309 M421 Mesh Point Offset and misc. UBL clean up (#6685)
* M421 Mesh Point Offset and misc. UBL clean up

Allow M421 to accept an offset as well as absolute value for a specified
mesh point.
And misc. UBL clean up to reduce redundent code.

* Better error checking for M421

* Fix M421 Y index bug

I just noticed....  We've had a Y index bug for who knows how long?
8 years ago
Scott Lahteine 081bf1f879 Patch #else / #endif comments 8 years ago
Scott Lahteine 56ca47ab9d Patch configuration temp units 8 years ago
Scott Lahteine 6e4a5cc8c6 Patch missing const in temp_abs 8 years ago
Scott Lahteine ce507deb9f Support temperature units in M503 8 years ago
LVD-AC da2abad636 Various cleanups of G33
- update comment section
- redefined P5 grid
- minor clean to probe radius routine
- updated EEPROM version to V37 according remark in #6517
8 years ago
Scott Lahteine ed81e9b3d3 Adjust leveling conditionals 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 671a44b8aa Merge pull request #6410 from teemuatlut/LVD-Delta
Delta auto-calibration updates
8 years ago
LVD-AC 585c00a728 Proposed changes
This is what I did yesterday:

- basicly gave the tests more comprehensive names; put all the
declarations at the top; got rid of the magic negative C-value (renamed
to P + A, O, T)

- "cos(RADIANS(180 + 30 * axis)) * (1 + circles * 0.1 * ((zig_zag) ? 1 :
-1)) * delta_calibration_radius" compiles wrong is zig_zag statement is
without brackets

- DELTA_TOWER_ANGLE_TRIM reset to 3 values (the calcs use the 3th value
to normalize will not compile otherwise)

-Wrote 3 dummies to keep EEPROM lenght the same

-Reset the configs to the 'original' with autocal + menu disabled (but
can be enabled of course)
8 years ago
Scott Lahteine baf3b91460 DELTA_TOWER_ANGLE_TRIM only needs AB 8 years ago
LVD-AC ed6b361e27 cleanup ready to squash 8 years ago
LVD-AC dcf30a69d6 Allowing #define DELTA_TOWER_ANGLE_TRIM[C_AXIS]
More consistent with M665 where C-value is allowed as well, then
normalized
8 years ago
Brian f41fb2b635 Numerous UBL-related changes:
* relocated ubl state to config. store:
 * removed a number of ubl state variables and padding which were largely unused - saved 58 bytes of both SRAM and EEPROM;
 * modified ubl sanity_check - no longer checks removed state variables that were otherwise unused, where checking didn't seem to accomplish anything, ultimately;
 * removed pre_initialized state, saving 64 bytes of SRAM;
 * removed automatic saving of UBL state after UBL activation/deactivation;
* consolidated multiple GRID_MAX_POINTS_X/Y to 'Global Leveling' section of EEPROM;
* minor update to G29 Sx notes/instructions;
* renamed mesh load and save parameter to 'slot' from 'm' for clarity;
8 years ago
Scott Lahteine 091179d960 bed_level_grid => z_values (also *_virt array) 8 years ago
Scott Lahteine 23cdbbb2d3 Add a method to refresh bilinear bed level after a change 8 years ago
Scott Lahteine ccda63c473 Drop the accessor form for LCD value editing 8 years ago
Brian 88649b06a6 use planner.z_fade_height, etc. instead of private, ubl-specific g29 fade height 8 years ago
LVD-AC 004928148c Tower angles
Adding '7-point' tower angle correction calibration
8 years ago
LVD-AC 13c8493878 M665 rework and related issues (all delta's)
- Making M665 compatible with repetier (see
http://reprap.org/wiki/G_code#M665:_Set_delta_configuration)

- M665 B also sets the radius for manual calibration menu

- Converting tower ajustment definitions to arrays - tower angle
corrections compatible with Esher 3D wizzard

- Only tower angles need to be adjustable with M665 and stored to EEPROM
- tower radius and diag rod can be adjusted in the FW only with #define
8 years ago
Scott Lahteine 55f9e76610 Merge pull request #6367 from thinkyhead/rc_cleanup_followup
Cleanup after some direct commits
8 years ago
Scott Lahteine b98bc034ae Replace c_assert hack with static_assert 8 years ago
MagoKimbra ed52275a14 Fix double definition in configuration_store 8 years ago
Scott Lahteine a00ae4790a Replace M905 with unique code M900 8 years ago
Thomas Moore f8e77d6545 Add Linear Advance values to EEPROM and enable configuration of K via LCD 8 years ago
Scott Lahteine b956f2642b Show M503 report with current linear units 8 years ago
Scott Lahteine 871f92378c Tweak headings in EEPROM structure 8 years ago
Roxy-3D 5e9726530f Setup to find data corruption and general clean up
This data corruption problem is very difficult.  Just changing the code
a little bit changes whether the problem even happens and what is
affected.  I need these changes in the main branch so I can operate with
the extra debug code always available and turned on.

Everything is setup such that if M100 is turned off or DEBUG(ECHO) is
turned off, the code is not affected.   M100 has been made a little bit
more inteligent so it can display the serial command buffers in a more
meaningful way (because the data corruption seems to often times end up
in that area).
8 years ago
Bob-the-Kuhn 60471b7592 minor improvements
Configuration_store.cpp - changed a couple of print statements so the
values were printed.  The old method resulted in the formula being
printed.

ubl_G29
1) added support for R option to P4.  Now probes all points unless R is
present and the number is greater than 0.

2) P2 - moved map print statement so it showed the point that was
currently being probed,  The old location did this only for the first
point.

3) P4 - Moved the map print for the same reason.

ultralcd.cpp - changed "Mesh Editor :" to "Mesh Editor" because the LCD
draw routine puts a ":" in automatically so you end up with an extra ":"
using the old message.
8 years ago
Scott Lahteine 4067d15c92 Cleanup, extend TMC2130 implementation 8 years ago
Scott Lahteine 24882adfbf Allow NO_WORKSPACE_OFFSETS with DELTA_AUTO_CALIBRATION
- On `DELTA` the `M665 H` option supplants `M206`
- On `DELTA` `NO_WORKSPACE_OFFSETS` only reverts `G92` behavior
- Spawn 4 conditionals based on `NO_WORKSPACE_OFFSETS`
- Optimize coordinate space conversion for `DELTA` workspace
- To keep EEPROM version, retain `home_offset[XYZ]`, just ignore XY
8 years ago
LVD-AC 8821963873 Implement delta auto-calibration and delta_height 8 years ago
Scott Lahteine 60ac41a32c Add code to handle changes to zprobe_zoffset 8 years ago
Scott Lahteine 5e4f4d387f Swap MBL z_values dimensions to [X][Y] 8 years ago
Scott Lahteine 786af73e24 Convert config code to a static class 8 years ago
james94jeans2 5b9476fe78 Added z_fade_height to EEPROM-Settings
Firmware was forgetting the z_fade_height in Planner, set by M420 Z<f>,
after each reset or loading settings from EEPROM. Added the float
z_fade_height to EEPROM-Storage, now remembers the value.
8 years ago
Scott Lahteine c54f6cf23d Updates to support 5 extruders 8 years ago
Jimmy Envall f78d44e91a Added support for delta tower angle corrections. 8 years ago
Scott Lahteine 832064e4f2 Implementation changes to support 5 extruders 8 years ago
Scott Lahteine 62cbaa302e Z_DUAL_ENDSTOP - make offset a configuration item
The offset for Z_DUAL_ENDSTOP (z_endstop_adj) is already in Marlin.
This PR just makes it a configuration item.

z_endstop_adj is initialized in two places so both had to be modified.
8 years ago
Scott Lahteine f5c5c1f771 Rename all UBL files with a ubl_ prefix 8 years ago
Scott Lahteine eb1e6aa29b Use same config name for all mesh dimensions 8 years ago
Scott Lahteine 9e4bd6b3b5 Further repairs to UBL, comments, spacing 8 years ago
Bob-the-Kuhn f3618c3337 Reduce UBL RAM usage by making G26/G29 optional 8 years ago
Scott Lahteine 9217e4b8ec Various UBL cleanups and bug fixes 8 years ago
Scott Lahteine b5711a99a2 Patches to bring UBL closer to compliance 8 years ago
Scott Lahteine e244399766 Additional cleanup of UBL code 8 years ago
Scott Lahteine b904b5ae8d Audible feedback for settings store/load/reset 8 years ago