Repository navigation
Conversation
This was referenced Dec 6, 2026
In position is the planner's. The joints follow it through the cubic interpolators and arrive a few cycles later. Since mode changes are deferred instead of dropped, the change to joint mode happened on the first in-position cycle and took pos_cmd mid-spline, so an MDI move from joint mode ended up to 0.0003 mm off its target in about 1 run in 100. Wait until the last four points of each joint's cubic are the same. A moving external offset never rests, so it does not hold the change up.
rene-dev
force-pushed
the
motion-rest-gscreen-fix
branch
from
December 6, 2026 12:52
d81ba6b to
e1ebb2a
Compare
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.
Two small fixes split out of #4832, as asked in review there. Neither depends on the rest of that work.
units = inifile.maplinearunits(...)in the constructor uses the module-levelinifile, which__main__only assigns afterGscreen()returns, so gscreen fails to start with a NameError. It isself.inifile.In-position is the planner's, but the joints follow it through the cubic interpolators and arrive a few cycles later. Since mode changes are deferred rather than dropped, the change to joint mode took place on the first in-position cycle and took
pos_cmdmid-spline. As found in review on task: halui's pins in task #4832, a joint mode request sent during an MDIG0left the joint short by up to 0.004 mm every time, on master too; an MDI move started from joint mode ended up to 0.0003 mm off in about 1 run in 100. Motion now also waits until the last four points of each joint's cubic agree. A moving external offset never rests, so it doesn't hold the change up.