Commit Graph

5776 Commits (9e21b2e51d74c72a6a80b78f18ed795ba249470d)
 

Author SHA1 Message Date
Scott Lahteine 9e21b2e51d Merge pull request from AnHardt/double-bump-feature
double bump probing as a feature
Scott Lahteine db4d03bc81 Merge pull request from thinkyhead/rc_fix_heaterstates_part_2
Additional heater-state output changes
Scott Lahteine c68ca95345 Merge pull request from thinkyhead/rc_fix_steps_per_mm_handling
Account for DELTA in Planner::refresh_positioning
Scott Lahteine 844a4e799e Account for DELTA in Planner::refresh_positioning
AnHardt 7188ce0ad6 double bump probing as a feature
Why double touch probing is not a good thing.

It's widely believed we can get better __probing__ results when using a double touch when probing.

Let's compare to double touch __homing__.
Or better let's begin with single touch __homing__.
We home to find out out position, so our position is unknown.
To find the endstop we have to move into the direction of the endstop.
The maximum way we have to move is a bit longer than the axis length.
When we arrive at the endstop - when it triggers, the stepper pulses are stopped immediately.
It's a sudden stop. No smooth deacceleration is possible.
Depending on the speed and the moving mass we lose steps here.
Only if we approached slow enough (below jerk speed?) we will not lose steps.

Moving a complete axis length, that slow, takes for ever.
To speed up homing, we now make the first approach faster, get a guess about our position,
back up a bit and make a second slower approach to get a exact result without losing steps.

What we do in double touch probing is the same. But the difference here is:
a. we already know where we are
b. if the first approach is to fast we will lose steps here to.
But this time there is no second approach to set the position to 0. We are measuring only.
The lost steps are permanent until we home the next time.

So if you experienced permanently rising values in M48 you now know why. (Too fast, suddenly stopped, first approach)

What can we do to improve probing?
We can use the information about our current position.
We can make a really fast, but deaccelerated, move to a place we know it is a bit before the trigger point.
And then move the rest of the way really slow.
Scott Lahteine c31f56a38c Deprecate EXTRUDER_WATTS and BED_WATTS
Scott Lahteine e1970b4b28 Show power output in same order as temp output
Scott Lahteine 74df828acc Show ADC values inline rather than after
João Brázio 3367e79fec Merge pull request from jbrazio/followup-4448
Fixes a compilation error introduced by 
João Brázio 8896f08074 Fixes a compilation error introduced by
Scott Lahteine c677d2ac56 Merge pull request from thinkyhead/rc_better_manual_home
Improved MANUAL_[XYZ]_HOME_POS
Scott Lahteine ea5ac94804 Improved MANUAL_[XYZ]_HOME_POS
No need for `MANUAL_HOME_POSITIONS`. Just set each one as-needed to
override the automatic behavior.
Scott Lahteine 1734de4d4e Merge pull request from thinkyhead/rc_fix_heaterstates
Fix output of heater states
Scott Lahteine b40661cb18 Fix output of heater states
Scott Lahteine 9083e5420a Merge pull request from AnHardt/sd2pinmap
Switch Sd2CardLib to fastio
Scott Lahteine 6f59560526 Merge pull request from jbrazio/speaker-followup
A little cleanup at speaker.h
Scott Lahteine 5d8d18d03d Merge pull request from thinkyhead/rc_arduino_160_minimum
Prevent compiling with old Arduino sooner
Scott Lahteine c94b6dd3e7 Revert to SanityCheck on every .cpp file
Scott Lahteine 256b03598d Merge pull request from thinkyhead/rc_fix_delta_optimization
Fix DELTA speed calculation
Scott Lahteine 753283e020 inverse_second => inverse_mm_s
Scott Lahteine 83e1d90ca3 Undo errant optimization of block->millimeters
João Brázio 909e98b1af A little cleanup at speaker.h
Scott Lahteine ae1c7bca1b Merge pull request from thinkyhead/rc_fix_rdfgsc_mega3
Fix for R.D.F.G.S.C. with MEGATRONICS 3 board
Scott Lahteine 03fdb26cd2 Wrangle encoder bits, LCD_CLICKED
Scott Lahteine 155def24c6 BLEN_A, B, C are defined in ultralcd headers
Scott Lahteine 42dcc3bf50 Remove "the click" comments
Scott Lahteine 0eba65f96b Fix for R.D.F.G.S.C. with MINITRONICS board
fabtopia 83d0d59303 Fix for R.D.F.G.S.C. with MEGATRONICS 3 board
The support for reprapworld LCD boke the code for the REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER. See Full Grapics Display does not work any more after   
Scott Lahteine 5367d56f87 Merge pull request from thinkyhead/rc_delta_safe_homing
DELTA should ignore Z_SAFE_HOMING
Scott Lahteine 2525528fb2 DELTA should ignore Z_SAFE_HOMING
Scott Lahteine dc3d2b50cd Merge pull request from thinkyhead/rc_probeless_safe_homing
Allow Z_SAFE_HOMING without a probe
Scott Lahteine ab4b2a66ff Allow zero Z_RAISE_BETWEEN_PROBINGS
Scott Lahteine 8953e3e984 Allow Z_SAFE_HOMING without a probe
AnHardt e4942d2163 Switch SD2cadrLib to fastio
Replace all fastDigitalRead/Write() with READ/WRITE()

Define SCK_PIN, MISO_PIN, MOSI_PIN in pins.h if not already defined in the pins_*.h files.

Remove these conditional pin definitions from the pin-files. They are now always defined.

Define separate sets of SPI-pins for AT90USB with and without Teensy support in fastio.h.
Likely this was the main reason for all that confusion about the AT90USB-SPI pins.
Scott Lahteine 9f1dd6d431 Merge pull request from thinkyhead/rc_allow_no_deploy_raise
Allow zero raise for deploy/stow
Scott Lahteine 21e744c454 Allow zero raise for deploy/stow
Scott Lahteine 54084612fd Merge pull request from petrzjunior/transl
[LANGUAGE] Update Czech (Info screen strings)
Scott Lahteine 5597400cda Merge pull request from thinkyhead/rc_split_conditionals
Split up Conditionals.h into two files
Scott Lahteine 24ee50f4d9 Merge pull request from thinkyhead/rc_remove_old_lang
Remove MSG_PRINT_TIME from languages
Scott Lahteine 4be635ec6e Remove MSG_PRINT_TIME from languages
Scott Lahteine 3be49881c0 Make SanityCheck.h a catch-all for obsolete configs
Scott Lahteine fa647cca23 Do the sanity check just once per build
Scott Lahteine 24a1a16e5d Move versioning to MarlinConfig.h
Scott Lahteine 7e70a0b05d Move pins / Arduino includes to MarlinConfig.h
Scott Lahteine d9f7ed9a3c Move some macros from Marlin.h to macros.h
Scott Lahteine 277899c175 Move include _Bootscreen.h where needed
Scott Lahteine 83c4653c71 Include boards and macros ahead of configs
Scott Lahteine 5f4702ecb2 Make Conditionals.h a catch-all for old configs
Scott Lahteine 8a44928df3 Make Conditionals.h a catch-all for old configs
Petr Zahradník junior 3d9b878cf0 Czech update