Restore legacy TAZ probe point sequence (T1538)

- Modified Marlin to begin the probe sequence at the washer below the wiper pad.
master
Marcio Teixeira 7 years ago
parent 7f8b0ed87b
commit 46b6c4ffc4

@ -13,7 +13,7 @@
* got disabled. * got disabled.
*/ */
#define LULZBOT_FW_VERSION ".62" // Change this with each update #define LULZBOT_FW_VERSION ".63" // Change this with each update
#if ( \ #if ( \
!defined(LULZBOT_Gladiola_Mini) && \ !defined(LULZBOT_Gladiola_Mini) && \
@ -462,9 +462,15 @@
// using a degenerate 2x2 grid. This is the traditional behavior. // using a degenerate 2x2 grid. This is the traditional behavior.
#define LULZBOT_GRID_MAX_POINTS_X 2 #define LULZBOT_GRID_MAX_POINTS_X 2
#define LULZBOT_GRID_MAX_POINTS_Y 2 #define LULZBOT_GRID_MAX_POINTS_Y 2
#if defined(LULZBOT_IS_MINI)
// We can't control the order of probe points exactly, but // We can't control the order of probe points exactly, but
// this makes the probe start closer to the wiper pad. // this makes the probe start closer to the wiper pad.
#define LULZBOT_PROBE_Y_FIRST #define LULZBOT_PROBE_Y_FIRST
#else
// Restore the old probe sequence on the TAZ that starts
// probing on the washer underneath the wiper pad.
#define LULZBOT_LAST_PROBE_POINT_ON_BACK_LEFT_CORNER
#endif
#endif #endif
/* Auto-leveling was introduced on the Mini and TAZ 6. /* Auto-leveling was introduced on the Mini and TAZ 6.

@ -4950,7 +4950,11 @@ void home_all_axes() { gcode_G28(true); }
#if ABL_GRID #if ABL_GRID
#if defined(LULZBOT_LAST_PROBE_POINT_ON_BACK_LEFT_CORNER)
bool zig = !(PR_OUTER_END & 1); // Always end at LEFT and BACK_PROBE_BED_POSITION
#else
bool zig = PR_OUTER_END & 1; // Always end at RIGHT and BACK_PROBE_BED_POSITION bool zig = PR_OUTER_END & 1; // Always end at RIGHT and BACK_PROBE_BED_POSITION
#endif
// Outer loop is Y with PROBE_Y_FIRST disabled // Outer loop is Y with PROBE_Y_FIRST disabled
for (uint8_t PR_OUTER_VAR = 0; PR_OUTER_VAR < PR_OUTER_END && !isnan(measured_z); PR_OUTER_VAR++) { for (uint8_t PR_OUTER_VAR = 0; PR_OUTER_VAR < PR_OUTER_END && !isnan(measured_z); PR_OUTER_VAR++) {

Loading…
Cancel
Save