Commit Graph

97 Commits

Author SHA1 Message Date
3d-gussner
c29042dead Fix warning:
Another fix from PR https://github.com/prusa3d/Prusa-Firmware/pull/138 and discussed in Issue https://github.com/prusa3d/Prusa-Firmware/issues/807

Ardunio IDE 1.6.8 and 1.8.5 result with Compiler warnings set to "More" or "All"
´´´
sketch\mesh_bed_calibration.cpp: In function 'sample_mesh_and_store_reference':

sketch\mesh_bed_calibration.cpp:2852:53: warning: 'zmax' may be used uninitialized in this function [-Wmaybe-uninitialized]

                 zmax = min(zmax, mbl.z_values[j][i]);

                                                     ^

sketch\mesh_bed_calibration.cpp:2848:15: note: 'zmax' was declared here

         float zmax = zmax;

               ^

´´´
2018-06-08 10:13:43 +02:00
Robert Pelnar
47c68c884c New ML support - fixed duplicate strings 2018-06-01 14:35:03 +02:00
PavelSindler
d307868a90 merge with upstream 2018-05-28 20:38:55 +02:00
PavelSindler
7e79ce8e53 MK3: crash detection for Z axis is active during auto home and mesh bed leveling (normal mode is forced for Z movents); temp cal coordintes corrections; temp cal: xy movents always in safe Z distance from heatbed, Z-axis homing improved 2018-05-28 20:26:15 +02:00
Robert Pelnar
2cf20c8c99 New ML support - migration - fix_source_1.sh script (replace 'MSG_xx' with '_T(MSG_xx)')
+ output + fixed source
2018-05-23 16:37:08 +02:00
Robert Pelnar
bd587faab9 New ML support - migration - replaced source, removed original ML support files (backup) 2018-05-22 03:20:03 +02:00
XPila
a184d2b824
Merge pull request #756 from XPila/MK3-new_lang
Mk3 new lang
2018-05-20 13:26:28 +02:00
Robert Pelnar
a528f8837c Merge remote-tracking branch 'upstream/MK3' into MK3-new_lang 2018-05-20 13:24:52 +02:00
Marek Bel
503d5551e6 Fix build of MK2. Global variable distance_from_min was removed, do not update it.
Expression
float y = vec_x[1] * pgm_read_float(bed_ref_points_4+mesh_point*2) + vec_y[1] * pgm_read_float(bed_ref_points_4+mesh_point*2+1) + cntr[1];
is identical with expression in count_xyz_details().
2018-05-16 18:40:36 +02:00
PavelSindler
553779a65d
Merge pull request #723 from mkbel/refactor_bed_geometry
Refactor bed geometry
2018-05-14 17:18:03 +02:00
Marek Bel
329ea199ec Show measured bed offset from expected position even if not homed. Remove redundant lcd_quick_feedback() calls. 2018-05-10 18:24:49 +02:00
Robert Pelnar
59f3f9d8ec New localization - includes fixed 2018-05-09 16:55:41 +02:00
Marek Bel
f00bde09a4 Re-factor bed calibration point coordinates to match bed CAD data. Tested successfully on MK3 (auto home position not calibrated and calibrated printer and print area position of calibrated printer). MK25 not tested. 2018-05-08 21:54:11 +02:00
Marek Bel
d6aa149cfa Conserve 58 bytes of flash by returning by reference. 2018-04-26 16:36:02 +02:00
Marek Bel
ae08788c99 Split lcd_service_mode_show_result screens to separate functions. Make them non blocking. Remove global array distance_from_min, pass it as function return value. Make Support submenus returning to Support menu. 2018-04-26 16:36:02 +02:00
PavelSindler
e7ad81e159
Merge pull request #660 from mkbel/fix_z_home_point
Update documentation of mesh_bed_calibration.cpp.
2018-04-25 17:27:22 +02:00
Robert Pelnar
0271ab3643 Meshbedleveling, calibration Z
check crash Z (MK3)
 check deviation of Z-probe (>50um == error, all printers)
kill with message "debris on nozzle..."
2018-04-25 16:19:16 +02:00
Robert Pelnar
5f12289339 CalibrationZ/MK3 - check crash Z after homeaxis (kill with message "debris on nozzle...") 2018-04-25 14:43:32 +02:00
Marek Bel
3abfeb831f Update documentation of mesh_bed_calibration.cpp. 2018-04-25 12:21:20 +02:00
Marek Bel
37ebe5c35d Move default correction matrix of not calibrated printer to world2machine_default() function. Use world2machine_reset() to uncorrected matrix. Call it from world2machine_revert_to_uncorrected() and from world2machine_default() if there is no default shift to remove code duplication. 2018-04-23 20:33:39 +02:00
Marek Bel
82b31e8552 Set [0;0] point offset for uncalibrated printer. 2018-04-20 15:01:11 +02:00
Marek Bel
31ae097dba mesh bed leveling / auto home Y coordinates updated 2018-04-18 17:09:12 +02:00
Robert Pelnar
339d2ebdef Z-axis stealth mode
XYZcal fix
2018-04-03 18:26:39 +02:00
Robert Pelnar
3ff5686336 MK2-25-3 variant files 2018-03-14 13:53:36 +01:00
Robert Pelnar
ac1a56b493 Merge branch 'MK25' into MK3 2018-03-13 20:43:19 +01:00
Robert Pelnar
65a91b366d New XYZ calibration with image processing 2018-03-13 12:55:35 +01:00
Robert Pelnar
a6f900fd3c Merge remote-tracking branch 'upstream/MK25' into MK25
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2018-03-06 15:11:50 +01:00
PavelSindler
a4b3389dfa M45 verbosity, steel sheet define, minor modifications in xyz cal 2018-02-22 10:38:46 +01:00
PavelSindler
43b8b125bc calibration points/offset corrections 2018-02-19 11:38:52 +01:00
Robert Pelnar
546314fda7 Removed debug messages from serial comunication (octoprint...).
build 137b
2017-12-27 20:29:24 +01:00
PavelSindler
d7db407f32 xyz cal.: add delay_keep_alive messages to reset watchdog (LS optimization method takes more than 4s in some cases) 2017-12-05 13:16:59 +01:00
PavelSindler
ba1bb4aea3 whitespace 2017-11-22 19:18:32 +01:00
PavelSindler
6d0574dd0f changed Y_MIN and probe points coordinates 2017-11-22 19:13:34 +01:00
PavelSindler
6bd221ad3b Y distance between nozzle and PINDA corrected 2017-11-22 16:07:03 +01:00
PavelSindler
fbbcc27f1a X max lowered to 250, XYZ/Z calibration: Z top coordinate changed, changes in xyz cal. because of stell sheet, still not final version 2017-11-12 11:30:06 +01:00
PavelSindler
c36b7be90c SUPPORT_VERBOSITY initial version 2017-11-07 11:36:41 +01:00
PavelSindler
c4d7b801b9 Initial version. XYZ cal works, but bed ref. points coordinates must be checked. 2017-10-27 16:12:37 +02:00
Robert Pelnar
480838a0a1 Fixed homing (mbl and babystep - crashdetection recovery work fine now). 2017-09-23 16:35:01 +02:00
PavelSindler
6eb57da770 fan check can be turned off from support menu, saving parameters to eeprom with offset and different levels, fan kickstart,2nd heatbed version, fans check modified 2017-09-21 15:20:02 +02:00
Robert Pelnar
683784c4c7 PAT9125 I2C, hardware SG homing
separate pin configuration file for each board
changed board codes:
RAMBO =100, MiniRambo1.0 =200, MiniRambo1.3 = 203, Einy03 =303, Einy04 =304
2017-08-17 15:23:34 +02:00
michalprusa
3fdb630c42 Mesh bed leveling calibrated to new MK42 24V heatbed (rev 0.3b)
Increased currents in Z and E axis
Decreased stallguard sensitivity
E axis microsteps changed to 64
2017-07-06 20:40:56 +02:00
PavelSindler
43d696659f 3.0.12-RC2 sync 2017-06-29 18:35:43 +02:00
michalprusa
3faef75a0d 3.0.10 sync 2017-03-24 19:47:50 +01:00
bubnikv
b470e103dc Reset live adjust on XYZ calibration.
Disable timeouts in the XYZ/Z calibration.
Don't modify feed rate multiplier during the XYZ/Z calibration.
Support multi screen messages in the XYZ/Z calibration - "move the Z carriages up" step.
Support up to three lines in the XYZ/Z calibration messages.
Added a new message "Measuring reference height of calibration point xx of 9".
Changed the "move the Z carriages up" message to suggest rotating the knob.
Changed the "live adjust not set" message to reference the manual chapter and section.
Remove debugging serial line output on Z calibration.
2016-09-01 10:44:24 +02:00
bubnikv
26405ee16f Syncing with 3.0.7 public 2016-08-31 17:12:05 +02:00
michalprusa
307d17422d 3.0.6 sync 2016-08-11 10:42:53 +02:00
michalprusa
30f0528aba Initial commit 2016-07-22 15:28:01 +02:00