Prusa MINI Firmware overview
ubl.h File Reference

Go to the source code of this file.

Classes

class  unified_bed_leveling
 

Macros

#define DEBUG_OUT   ENABLED(DEBUG_LEVELING_FEATURE)
 
#define UBL_VERSION   "1.01"
 
#define UBL_OK   false
 
#define UBL_ERR   true
 
#define MESH_X_DIST   (float(MESH_MAX_X - (MESH_MIN_X)) / float(GRID_MAX_POINTS_X - 1))
 
#define MESH_Y_DIST   (float(MESH_MAX_Y - (MESH_MIN_Y)) / float(GRID_MAX_POINTS_Y - 1))
 
#define _GET_MESH_X(I)   ubl.mesh_index_to_xpos(I)
 
#define _GET_MESH_Y(J)   ubl.mesh_index_to_ypos(J)
 
#define Z_VALUES_ARR   ubl.z_values
 

Enumerations

enum  MeshPointType : char { INVALID, REAL, SET_IN_BITMAP }
 

Variables

unified_bed_leveling ubl
 

Macro Definition Documentation

◆ DEBUG_OUT

#define DEBUG_OUT   ENABLED(DEBUG_LEVELING_FEATURE)

Marlin 3D Printer Firmware Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]

Based on Sprinter and grbl. Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

◆ UBL_VERSION

#define UBL_VERSION   "1.01"

◆ UBL_OK

#define UBL_OK   false

◆ UBL_ERR

#define UBL_ERR   true

◆ MESH_X_DIST

#define MESH_X_DIST   (float(MESH_MAX_X - (MESH_MIN_X)) / float(GRID_MAX_POINTS_X - 1))

◆ MESH_Y_DIST

#define MESH_Y_DIST   (float(MESH_MAX_Y - (MESH_MIN_Y)) / float(GRID_MAX_POINTS_Y - 1))

◆ _GET_MESH_X

#define _GET_MESH_X (   I)    ubl.mesh_index_to_xpos(I)

◆ _GET_MESH_Y

#define _GET_MESH_Y (   J)    ubl.mesh_index_to_ypos(J)

◆ Z_VALUES_ARR

#define Z_VALUES_ARR   ubl.z_values

Enumeration Type Documentation

◆ MeshPointType

enum MeshPointType : char
Enumerator
INVALID 
REAL 
SET_IN_BITMAP 
35 : char { INVALID, REAL, SET_IN_BITMAP };

Variable Documentation

◆ ubl

REAL
Definition: ubl.h:35
INVALID
Definition: ubl.h:35
SET_IN_BITMAP
Definition: ubl.h:35