345 Commits (a20b7d95812018cb55b2f341455a78dd5e21abf9)

Author SHA1 Message Date
Scott Lahteine 830851df13 Spend some SRAM to optimize bilinear leveling 8 years ago
Scott Lahteine 091179d960 bed_level_grid => z_values (also *_virt array) 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
Scott Lahteine 60ac41a32c Add code to handle changes to zprobe_zoffset 8 years ago
Scott Lahteine 6d5400dc31 Merge pull request #6240 from thinkyhead/rebuild_rgb_led
Extend RGB LED with Printer Events
8 years ago
Scott Lahteine 36bda2bade Add HAS_RESUME_CONTINUE shorthand macro 8 years ago
Scott Lahteine 68773f4486 Simplify stepper macros by renaming enable/disable macros 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 15edb41cee Patches to UBL 8 years ago
Scott Lahteine 04050237f0 Header and pins changes to support 5 extruders 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 eb1e6aa29b Use same config name for all mesh dimensions 8 years ago
Scott Lahteine a2775d0c70 can wstring be removed? 8 years ago
Scott Lahteine 2cbc7b4b73 Relocate serial macros and functions 8 years ago
Scott Lahteine 1a775cecac Revert behavior of enqueue_and_echo_commands_P 8 years ago
Scott Lahteine 93aad54dc1 Clean up code, remove _now command function 8 years ago
Scott Lahteine 4902fd4e95 More data in UBL class, make it a static class
- Make all `unified_bed_leveling` data/methods static
- Move some UBL-related variables into the class
- Replace `map_[xy]_index_to_bed_location` with `mesh_index_to_[xy]pos`
8 years ago
Scott Lahteine 9217e4b8ec Various UBL cleanups and bug fixes 8 years ago
Scott Lahteine d076c1b604 Apply some general cleanup to code 8 years ago
Scott Lahteine 4c7f14752a Add disable_e_steppers function 8 years ago
Scott Lahteine fb60aa3736 UBL implementation 8 years ago
Scott Lahteine e4649c9044 Add HAS_SOFTWARE_ENDSTOPS macro 8 years ago
Scott Lahteine 58b3e98878 Use arrays for delta tower parameters 8 years ago
Jimmy Envall 00b6b3da79 Added support for delta tower angle corrections. 8 years ago
Scott Lahteine e141f3a03f Optimize coordinate transformation
Pre-compute the combined position shift and home offset to save a
single float fetch-and-add per conversion. Great for delta/scara and
bed leveling.
8 years ago
Scott Lahteine 5f7e85398b Implement NO_WORKSPACE_OFFSETS 8 years ago
Scott Lahteine e42fd7813a Save ABL Bilinear Grid to EEPROM 8 years ago
Scott Lahteine 887ed73c9b Expose delta_clip_start_height for use by others 8 years ago
Scott Lahteine ee50928eee Make LOGICAL and RAW position macros ternary-compatible 8 years ago
Scott Lahteine 50ee749082 Centralize click-handling in the LCD loop 8 years ago
Scott Lahteine 67ab54185b Save hotend_offset array (M218) in EEPROM 8 years ago
esenapaj d5a5042d23 Fix for the PR #5088 (Handle M108 in M1 also with ULTIPANEL) 8 years ago
Scott Lahteine d963020532 Sort out some header dependencies 8 years ago
Scott Lahteine 8910bb7c97 Fix buzzer conditional compile 8 years ago
Scott Lahteine 919fe3e4b8 Rename feature to G38_PROBE_TARGET 8 years ago
Scott Lahteine a2864ab7fe Patched up, cleaned up 8 years ago
Bob-the-Kuhn 2911aa7ffa code changes to implement G38 commands
1) modified 3 code files
Marlin.h
Marlin_main.cpp
endstops.cpp

2) modified config files so I could test on my machine

Testing was done on an AzteegX3pro based machine.

The probe was hooked to the Z_MIN endstop.

My controller doesn't have a dedicated Z_PROBE input so I couldn't test
that functionality.

Verified that a large file (without any G38 commands) executed the same
before and after the changes.

Verified that the head moves as expected when G38.2 and G38.3 commands
are issued. Single & multiple axis moves were tested along with + and -
directions.

Code was added to the main ISR. In normal operation only one extra IF
statement is evaluated. I didn't notice any performance degradation
because of the added code.

The G38 commands are expected to be issued manually by the operator
during machine setup. The G38 commands wait until the machine is idle
before proceeding. That way the other commands are minimally impacted
by the extra ISR overhead when a G38 command is in the queue.

The G38 commands are very similar to the G28 commands except 1) only the
Z_PROBE is used and movement can be in the + or - direction.

See issue 4677 for a discussion on adding G38 commands to Marlin.
Feature request: add ability to use G38.2 command (CNC)
MarlinFirmware/Marlin#4677
8 years ago
Scott Lahteine ea0dbee3c9 Enable ABL by type, support bilinear on cartesian 8 years ago
Scott Lahteine 77639672d7 Move NONLINEAR bed leveling to planner
This is in advance of moving non-linear bed leveling to the planner
class.
8 years ago
Scott Lahteine 5f2f991192 Use 'logical' rather than 'target' or 'cartesian' 8 years ago
Scott Lahteine 40d3e854f6 Remove redundant extern delta[] 8 years ago
Scott Lahteine 83a41c7ceb Remove SCARA axis_scaling 8 years ago
Scott Lahteine 4f75ce6957 Unify reset_bed_level for linear/non-linear 8 years ago
Scott Lahteine d65f5d816f Patch to fix kinematics 8 years ago
Scott Lahteine acd1b6e9c0 Rename delta_grid spacing for general nonlinear 8 years ago
Scott Lahteine c5fa70809b Implement M0/M1 for EMERGENCY_PARSER 8 years ago
Scott Lahteine 6ab54c60b1 Add conditionals for kinematics, leveling 8 years ago
Scott Lahteine 6ac9d895ca Tweak Filament Width variables 8 years ago
Scott Lahteine 14a03727e1 Tweak serialprintPGM 8 years ago
Scott Lahteine 2f223b8c79 Use ABC and XYZ for "3" 8 years ago