Commit Graph

103 Commits

Author SHA1 Message Date
Alex Voinea
380377db0f Add static assert 2022-02-10 09:47:37 +01:00
Guðni Már Gilbert
9bf45773f9 Merge remote-tracking branch 'upstream/MK3' into rebase-testing-ground-v2 2022-01-30 11:43:16 +00:00
Guðni Már Gilbert
c705d4aa10 Change set_z() parameters to uin8_t
Saves 24 bytes of flash
2022-01-30 11:39:28 +00:00
Guðni Már Gilbert
52aa5a5f00 Use inlined function set_destination_to_current() in more places
Saves 70 bytes of flash memory
2022-01-30 11:39:23 +00:00
Guðni Már Gilbert
b716c208d7 Various optimisation to change int to uint8_t
This commit saves 174 bytes of flash memory
2021-08-03 22:42:01 +00:00
Guðni Már Gilbert
d853c19a21 Use fabs() instead of abs() when using floats
This saves 514 bytes of flash memory
2021-07-20 08:16:18 +02:00
3d-gussner
686054b95e Changed x of 4 and y of 9 to x/4 and y/4
Added `Iteration` translation
2021-04-27 20:22:28 +02:00
3d-gussner
b8ae08fd3d Update x of 4 and x of 9 messages so longer text can be used. 2021-04-27 07:18:52 +02:00
espr14
99206884b5 Calibration: detect biased PINDA and retry calibration
PFW-1223
2021-03-12 05:04:49 +01:00
Yuri D'Elia
c241adec5f Ensure babystep_apply|undo always uses the planner
The code around these calls _requires_ that the steps are immediately
processed and/or added to the subsequent planner moves.

The only part that doesn't care about immediate insertion is the
direct user-insertion though the lcd encoder.
2021-02-25 16:44:16 +01:00
Yuri D'Elia
e010ca8ceb Fix conflicting extern/inline declarations
The functions find_bed_induction_sensor_point_* have conflicting
extern and inline declarations.

These are used outside of the compilation unit only, and thus there's no
point in defining them inline.

This causes a compilation failure at O1 and above, which is strangely
avoided at Os.
2021-02-10 14:50:13 +01:00
espr14
d7507649d8 Remove degree char 2021-01-12 00:28:46 +01:00
espr14
333526f65d Single skew output 2021-01-11 23:14:12 +01:00
espr14
e6e44fe188 Convert to degrees 2021-01-11 23:13:08 +01:00
espr14
b8443b00ad Reverse reverse 2021-01-11 22:18:50 +01:00
espr14
09892bec52 Reverse 2021-01-11 18:46:56 +01:00
espr14
211e5f5f37 Define DBG output 2021-01-11 17:31:26 +01:00
espr14
904a23b69e Report calibration results 2021-01-11 17:02:41 +01:00
espr14
2e40a27460 Alignment, comments 2021-01-11 15:40:12 +01:00
espr14
1610c96fc4 Fix and report circle divergence 2020-12-21 18:05:52 +01:00
DRracer
eb44ee0f57
Code size optimization: 2KB down (#2687)
* Combine repeated calls into functions with much less parameters -> 2KB
down.

* Save some bytes by removing unnecessary 1-character strings: "x" -> 'x'
used in SERIAL_xxx printing macros.
This is also saves some CPU cycles

* Fix compilation for MK25S and MK3

* Copy surrounding indentation

* Fix compilation for a rare HW setup

* rename mesh_planXX_buffer_line back to mesh_plan_buffer_line

* Remove active_extruder from remaining plan_buffer_line_destinationXYZE
calls and one more fix of indentation
2020-06-01 17:51:28 +02:00
leptun
8c2902a660
Revert "Mesh bed leveling testing"
This reverts commit 28e812d91f.
2020-01-29 23:07:53 +02:00
leptun
28e812d91f Mesh bed leveling testing 2019-11-13 14:32:33 +02:00
leptun
7650e2b60c Handle disable_heater() 2019-10-06 12:43:03 +03:00
leptun
570b5989f4 Disable bed PWM while probing bed. 2019-10-06 10:50:11 +03:00
DRracer
a7c2aec04c Code size reduced by almost 5KB 2019-08-21 09:59:51 +02:00
Marek Bel
4a16fe6902 Save z_offset, bed_temp and pinda_temp with sheet calibration. 2019-06-26 14:10:12 +02:00
Ondrej Tuma
b7fe43bf68 Deleted bad cols/rows definitions for translation. 2019-05-07 12:52:23 +02:00
PavelSindler
96a111119b document 2019-03-28 14:52:50 +01:00
PavelSindler
8f69d5a501 document 2019-03-28 14:48:35 +01:00
PavelSindler
e259967991 remove / comment debug code 2019-03-27 20:41:45 +01:00
PavelSindler
5863297538 if deviation between current Z-probe and avg, value > 50um, enlarge Z-probe movements and repeat measurement 2019-03-27 20:25:00 +01:00
PavelSindler
a9ce38df71 Function for decision if we have valid Z-calibration data in eeprom fixed, mesh bed leveling: possible crash fix, temporaty debug info on serial line. 2019-03-26 17:14:05 +01:00
PavelSindler
ef198856a4 increase relative movement in Z to work better with higher hysteresis PINDAs 2019-03-14 14:10:52 +01:00
PavelSindler
9e0e4198c5 Mesh by 3d-gussner, fixed difference between mbl points coordinates and coordinates used in planner for corrections, mbl settings menu update 2019-03-14 01:52:44 +01:00
PavelSindler
6c70d59810 mbl settings initialization fix 2019-03-13 15:05:10 +01:00
PavelSindler
0aa21c362e compile error fix 2019-03-11 23:37:30 +01:00
PavelSindler
9a83925a97 fixed bug in counting approximate Z coordinate 2019-03-11 23:13:55 +01:00
PavelSindler
141b78c048 number of Z-probes defualt value changed from 4 to 3, mmu stealth mode switch in settings menu 2019-03-10 16:03:46 +01:00
PavelSindler
f293d61d3d faster Z probe: move Z 150um relatively to last measurement. If PINDA is triggered at the beginning of measurement, move Z 500um higher and repeat measurement 2019-03-08 18:52:14 +01:00
PavelSindler
6a864ffbab G80 parameters configurable via settings menu 2019-03-08 15:43:37 +01:00
PavelSindler
7c187541e1 function for valid points determination improved; simple Z-coordinate estimation; measure all points and use inaccurate Z-coordinate in case that we don't have enought information for counting Z-coordinate estimation 2019-03-05 22:36:30 +01:00
PavelSindler
d9e93e8a77 measurements points moved 10mm to the left; measure only chosen points (e.g. not points affected by magnets proximity) 2019-03-05 20:40:08 +01:00
PavelSindler
17f095b957 shorter Z movements (makes calibration faster) 2019-03-04 20:32:56 +01:00
PavelSindler
e27fdafcec menu switch - initial 2019-02-28 19:42:09 +01:00
Laurentiu
51827c578f MESH_MEAS_NUM_X_POINTS constant correction to MESH_MEAS_NUM_Y_POINTS 2019-02-22 15:05:06 +02:00
Laurentiu
62875f2e95 MESH_MEAS_NUM_X_POINTS constant correction to MESH_MEAS_NUM_Y_POINTS 2019-02-22 14:35:48 +02:00
Laurentiu
4835b9b220 7x7 points mesh bed leveling 2019-02-14 10:57:58 +02:00
Robert Pelnar
9a68501039 MK2 variants compilable 2018-11-06 14:17:43 +01:00
Marek Bel
1585dc66b0 Merge remote-tracking branch 'prusa3d/MK3_dev' into simplify_EEPROM_M500
Known limitation: Unable to compile.
2018-10-08 15:58:49 +02:00