docs: G38 probe to machine-coordinate conversion via #5401-#5409#4163
Merged
Conversation
Document the official way to recover the absolute machine coordinate of a probe from #5061-#5069. Since LinuxCNC#3996, #5401-#5409 report the applied tool length offset, so the conversion works with or without an active tool offset and does not require cancelling it with G49 first. Refs LinuxCNC#4159
wucke13
reviewed
Jun 14, 2026
Collaborator
|
Would if be possible to add a parameter that automatically calculates this anytime obe of the variables changes? |
Contributor
Author
|
Other controllers expose the current point in two frames and subtract... We already have the work-frame set in I checked and Implementation is small. What it gives:
I'll look into it tomorrow... |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Documents the official way to recover the absolute machine coordinate of a probe from the result parameters
#5061-#5069.Since #3996,
#5401-#5409report the tool length offset actually applied to motion (set by the G43 family, zeroed by G49). That makes the probe-to-machine conversion reliable whether or not a tool offset is active, so it no longer requires cancelling the offset with G49 first as the existing G38.2 example does.Added under the
G38._n_straight probe section:Refs #4159