Prusa MINI Firmware overview
|
Go to the documentation of this file.
24 #include "../../inc/MarlinConfigPre.h"
26 #if ENABLED(PROBE_MANUALLY)
36 #if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
37 void set_z_fade_height(
const float zfh,
const bool do_report=
true);
40 #if EITHER(MESH_BED_LEVELING, PROBE_MANUALLY)
41 void _manual_goto_xy(
const xy_pos_t &pos);
54 #define TEMPORARY_BED_LEVELING_STATE(enable) const TemporaryBedLevelingState tbls(enable)
58 typedef float bed_mesh_t[GRID_MAX_POINTS_X][GRID_MAX_POINTS_Y];
60 #if ENABLED(AUTO_BED_LEVELING_BILINEAR)
62 #elif ENABLED(AUTO_BED_LEVELING_UBL)
64 #elif ENABLED(MESH_BED_LEVELING)
68 #define Z_VALUES(X,Y) Z_VALUES_ARR[X][Y]
69 #define _GET_MESH_POS(M) { _GET_MESH_X(M.a), _GET_MESH_Y(M.b) }
71 #if EITHER(AUTO_BED_LEVELING_BILINEAR, MESH_BED_LEVELING)
84 struct mesh_index_pair {
87 void invalidate() { pos = -1; }
88 bool valid()
const {
return pos.
x >= 0 && pos.
y >= 0; }
89 #if ENABLED(AUTO_BED_LEVELING_UBL)
95 operator const xy_int8_t&()
const {
return pos; }
#define SERIAL_CHAR(x)
Definition: serial.h:69
~TemporaryBedLevelingState()
Definition: bedlevel.h:52
T z
Definition: types.h:383
static void synchronize()
Definition: planner.cpp:1556
#define SERIAL_ECHO(x)
Definition: serial.h:70
static float mesh_index_to_ypos(const uint8_t i)
Definition: ubl.h:290
static matrix_3x3 bed_level_matrix
Definition: planner.h:278
#define DEBUG_ECHOLNPGM(...)
Definition: debug_out.h:79
#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
static bool leveling_active
Definition: planner.h:276
void do_blocking_move_to_xy_z(const xy_pos_t &raw, const float &z, const feedRate_t &fr_mm_s)
Definition: motion.cpp:461
void do_blocking_move_to_xy(const float &rx, const float &ry, const feedRate_t &fr_mm_s)
Definition: motion.cpp:454
Definition: bedlevel.h:48
uint8_t i
Definition: screen_test_graph.c:72
static float mesh_index_to_xpos(const uint8_t i)
Definition: ubl.h:287
static FORCE_INLINE bool has_mesh()
Definition: mesh_bed_leveling.h:54
void set_to_identity()
Definition: vector_3.cpp:94
FI void reset()
Definition: types.h:191
void set_bed_leveling_enabled(const bool enable=true)
xyze_pos_t current_position
Definition: motion.cpp:102
void sync_plan_position()
Definition: motion.cpp:216
#define isnan
Definition: Arduino.h:55
xy_int_t bilinear_grid_spacing
void onMeshUpdate(const uint8_t xpos, const uint8_t ypos, const float zval)
Definition: marlin_server.cpp:945
void
Definition: png.h:1083
#define SERIAL_ECHO_F(V...)
Definition: serial.h:71
#define SERIAL_ECHOPGM(S)
Definition: serial.h:173
T x
Definition: types.h:185
const uint8_t[]
Definition: 404_html.c:3
float bilinear_z_offset(const xy_pos_t &raw)
static bool mesh_is_valid()
Definition: ubl.h:300
constexpr bool g29_in_progress
Definition: bedlevel.h:29
#define DEBUGGING(F)
Definition: serial.h:47
void report_current_position()
Definition: motion.cpp:199
#define SERIAL_EOL()
Definition: serial.h:181
T y
Definition: types.h:185
#define SERIAL_ECHOLNPGM(S)
Definition: serial.h:174
static void apply_leveling(xyz_pos_t &raw)
Definition: planner.cpp:1381
TemporaryBedLevelingState(const bool enable)
static void unapply_leveling(xyz_pos_t &raw)
Definition: planner.cpp:1415
void serial_spaces(uint8_t count)
Definition: serial.cpp:50
Planner planner
Definition: planner.cpp:111