Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up, simplify and generalize the Allen-key-probe code. #4207

Merged
merged 4 commits into from
Jul 6, 2016

Commits on Jul 6, 2016

  1. Add a optional feedrate parameter to do_blocking_move()

    Add a optional feedrate parameter to `do_blocking_move()` and its companions.
    AnHardt committed Jul 6, 2016
    Configuration menu
    Copy the full SHA
    7d063c1 View commit details
    Browse the repository at this point in the history
  2. Move Allen Key probe move scripts to their own functions

    There was an hidden extra move after the scripts. This is configurable now.
    Added the extra moves to the relevant configs.
    AnHardt committed Jul 6, 2016
    Configuration menu
    Copy the full SHA
    5126cce View commit details
    Browse the repository at this point in the history
  3. Generalize and simplify 'triggered when stowed test`

    The `PROBE_IS_TRIGGERED_WHEN_STOWED_TEST` is able to detect if a probe is
    successfully deployed/stowed.
    It was part of the Allen Key probes code only.
    Now the function is generally available.
    
    Currently this test is compulsory for Allen Key probes to not alter the used behaviour
    If you want to add the test for an other type of probe simply add
    ```
    #define PROBE_IS_TRIGGERED_WHEN_STOWED_TEST
    ```
    to your config.
    AnHardt committed Jul 6, 2016
    Configuration menu
    Copy the full SHA
    8555816 View commit details
    Browse the repository at this point in the history
  4. Make use of the good features of a sled probe for all probes.

    Move and extend axis_unhomed test to deploy/stow_z_probe().
    Move and extend position store/restore to deploy/stow_z_probe().
    
    Now all kinds of probes can use the 'E' parameter in G29/M48.
    Allen key probes can be used now for grid and 3-point levelling.
    
    Deploying the Allen Key probe uses big moves in z direction.
    Too dangerous for an unhomed z-axis.
    Throw a compile time error when we try to configure an
    Allen Key probe homing to z-min and having no other z-min-endstop.
    AnHardt committed Jul 6, 2016
    Configuration menu
    Copy the full SHA
    16c83d2 View commit details
    Browse the repository at this point in the history