-
-
Notifications
You must be signed in to change notification settings - Fork 235
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
Cartographer probe config #581
Open
xyleth
wants to merge
9
commits into
Frix-x:develop
Choose a base branch
from
xyleth:cartographer
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
1f4dde1
Adding Cartographer config
xyleth 2b29e73
Adding Cartographer option to default printer.cfg
xyleth cbe183d
Adding Cartographer repo updates to Moonraker
xyleth 70c97f7
refining the config details
xyleth 9a2cc7b
Re-enabled defaults
xyleth d18ba59
Merge branch 'develop' into cartographer
Surion79 b4c9dfa
Config for the onboard lis2dw accelerometer
xyleth 81b76d4
Merge branch 'cartographer' of github.com:xyleth/klippain-xymods into…
xyleth 1560e21
Adding PROBE_CALIBRATE macro as requested
xyleth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# This probe type is for a Cartographer probe used directly as a virtual Z endstop | ||
# rather than with an existing physical endstop. To use this configuration, | ||
# you will need to manually add the Cartographer Klipper plugin! | ||
|
||
## Then, you should just add the following two lines to your overrides and everything should work! | ||
#[cartographer] | ||
# Path to the serial port for the Cartographer device. Typically has the form | ||
# /dev/serial/by-id/usb-cartographer_cartographer_... | ||
# | ||
# If you are using the CAN Bus version, replace serial: with canbus_uuid: and add the UUID. | ||
# Example: canbus_uuid: 1283as878a9sd | ||
# | ||
|
||
[cartographer] | ||
# Path to the serial port for the Cartographer device. Typically has the form | ||
# /dev/serial/by-id/usb-cartographer_cartographer_... | ||
# | ||
# If you are using the CAN Bus version, replace serial: with canbus_uuid: and add the UUID. | ||
# Example: canbus_uuid: 1283as878a9sd | ||
# | ||
speed: 40. | ||
# Z probing dive speed. | ||
lift_speed: 5. | ||
# Z probing lift speed. | ||
backlash_comp: 0.5 | ||
# Backlash compensation distance for removing Z backlash before measuring | ||
# the sensor response. | ||
x_offset: 0. | ||
# X offset of cartographer from the nozzle. | ||
y_offset: 21.1 | ||
# Y offset of cartographer from the nozzle. | ||
trigger_distance: 2. | ||
# cartographer trigger distance for homing. | ||
trigger_dive_threshold: 1.5 | ||
# Threshold for range vs dive mode probing. Beyond `trigger_distance + | ||
# trigger_dive_threshold` a dive will be used. | ||
trigger_hysteresis: 0.006 | ||
# Hysteresis on trigger threshold for untriggering, as a percentage of the | ||
# trigger threshold. | ||
cal_nozzle_z: 0.1 | ||
# Expected nozzle offset after completing manual Z offset calibration. | ||
cal_floor: 0.1 | ||
# Minimum z bound on sensor response measurement. | ||
cal_ceil:5. | ||
# Maximum z bound on sensor response measurement. | ||
cal_speed: 1.0 | ||
# Speed while measuring response curve. | ||
cal_move_speed: 10. | ||
# Speed while moving to position for response curve measurement. | ||
default_model_name: default | ||
# Name of default cartographer model to load. | ||
mesh_main_direction: x | ||
# Primary travel direction during mesh measurement. | ||
#mesh_overscan: -1 | ||
# Distance to use for direction changes at mesh line ends. Omit this setting | ||
# and a default will be calculated from line spacing and available travel. | ||
mesh_cluster_size: 1 | ||
# Radius of mesh grid point clusters. | ||
mesh_runs: 2 | ||
# Number of passes to make during mesh scan. | ||
|
||
[safe_z_home] | ||
home_xy_position: 150,150 | ||
# Example home_xy_position: 175,175 - This would be for a 350 * 350mm bed. | ||
z_hop: 10 | ||
|
||
[gcode_macro _USER_VARIABLES] | ||
# We can declare an "inductive_virtual" probe type as it's pretty close to the Cartographer way of working and should just work! | ||
variable_probe_type_enabled: "inductive_virtual" | ||
gcode: | ||
|
||
# Cartographer probe definition also include the probe management macro directly from here | ||
[include ../../../macros/base/probing/generic_probe.cfg] | ||
|
||
# Z Stepper overrides for Cartographer | ||
[stepper_z] | ||
endstop_pin: probe:z_virtual_endstop # use cartographer as virtual endstop | ||
homing_retract_dist: 0 # cartographer needs this to be set to 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i would precise it here (i know it is not done in beacon), and write to add a cartographer section to the overrides.