Prusa MINI Firmware overview
|
Go to the documentation of this file.
24 #include "../inc/MarlinConfigPre.h"
25 #include "../module/planner.h"
31 #if ENABLED(BACKLASH_GCODE)
34 #ifdef BACKLASH_SMOOTHING_MM
35 static float smoothing_mm;
43 #ifdef BACKLASH_SMOOTHING_MM
44 static constexpr
float smoothing_mm = BACKLASH_SMOOTHING_MM;
48 #if ENABLED(MEASURE_BACKLASH_WHEN_PROBING)
53 static void measure_with_probe();
59 #
if ENABLED(MEASURE_BACKLASH_WHEN_PROBING)
60 measured_count[
a] > 0 ? measured_mm[
a] / measured_count[
a] :
64 #if DISABLED(MEASURE_BACKLASH_WHEN_PROBING)
71 #
if ENABLED(MEASURE_BACKLASH_WHEN_PROBING)
72 || (measured_count[
a] > 0)
75 #if DISABLED(MEASURE_BACKLASH_WHEN_PROBING)
T z
Definition: types.h:383
static constexpr uint8_t correction
Definition: backlash.h:41
#define _MAX(V...)
Definition: macros.h:346
void do_blocking_move_to_z(const float &rz, const feedRate_t &fr_mm_s)
Definition: motion.cpp:450
#define _MIN(V...)
Definition: macros.h:333
AxisEnum
Definition: types.h:36
static bool has_any_measurement()
Definition: backlash.h:80
abce_ulong_t steps
Definition: planner.h:107
Definition: backlash.h:29
static const xyz_float_t distance_mm
Definition: backlash.h:42
#define ABS(a)
Definition: macros.h:266
xyze_pos_t current_position
Definition: motion.cpp:102
void add_correction_steps(const int32_t &da, const int32_t &db, const int32_t &dc, const uint8_t dm, block_t *const block)
#define LOOP_XYZ(VAR)
Definition: types.h:60
float axis_steps_per_mm[XYZE_N]
Definition: planner.h:181
float millimeters
Definition: planner.h:100
#define CEIL(x)
Definition: macros.h:283
static float get_measurement(const AxisEnum a)
Definition: backlash.h:56
if(size<=((png_alloc_size_t) -1) - ob)
Definition: pngwrite.c:2176
list a
Definition: createSpeedLookupTable.py:29
const uint8_t[]
Definition: 404_html.c:3
#define CBI(A, B)
Definition: macros.h:89
constexpr uint8_t ui8_to_percent(const uint8_t i)
Definition: utility.h:81
#define TEST(n, b)
Definition: macros.h:81
#define MMM_TO_MMS(MM_M)
Definition: types.h:83
constexpr uint8_t all_off
Definition: backlash.h:27
constexpr uint8_t all_on
Definition: backlash.h:27
static planner_settings_t settings
Definition: planner.h:251
#define UNUSED(X)
Definition: stm32f4xx_hal_def.h:74
#define ENABLED(V...)
Definition: macros.h:177
Planner planner
Definition: planner.cpp:111
static bool has_measurement(const AxisEnum a)
Definition: backlash.h:69