Skip to content

axis: fix Z jog after touch off on unhomed lathe (2.9 backport of #4007)#4015

Open
grandixximo wants to merge 1 commit into
LinuxCNC:2.9from
grandixximo:fix/3994-axis-touchoff-jog-2.9
Open

axis: fix Z jog after touch off on unhomed lathe (2.9 backport of #4007)#4015
grandixximo wants to merge 1 commit into
LinuxCNC:2.9from
grandixximo:fix/3994-axis-touchoff-jog-2.9

Conversation

@grandixximo
Copy link
Copy Markdown
Contributor

@grandixximo grandixximo commented May 11, 2026

Summary

Backport of #4007 (merged to master/2.10) to the 2.9 branch.

Fixes #3994: on an unhomed lathe, touching off forces teleop mode via set_motion_teleop(1). A follow-up Z jog then hit the teleop axis slot 1 (Y) instead of slot 2 (Z) and silently no-op'd, because ja_from_rbutton used the compact xzabcuvw letter map whenever the machine was unhomed, regardless of jog mode.

Fix gates the compact map on jjogmode so teleop axis jogs always use the full xyzabcuvw slot map.

Cherry-pick of 7a6dfdd onto 2.9, no conflicts.

Context

I communicated with the original reporter of #3994. They are on stable 2.9.8 and do not want to build from source. The best I can offer is a PR against 2.9 so the fix lands in the next stable release.

Test plan

ja_from_rbutton used the compact "xzabcuvw" letter map whenever the
machine was unhomed, regardless of jog mode. Touch off forces teleop
via set_motion_teleop(1), so a follow-up Z jog hit the teleop axis
slot 1 (Y) instead of slot 2 (Z) and silently no-op'd. Gate the
compact map on jjogmode so teleop axis jogs always use the full
"xyzabcuvw" slot map.
@grandixximo grandixximo force-pushed the fix/3994-axis-touchoff-jog-2.9 branch from b1c9c9a to d1f53a0 Compare May 12, 2026 01:52
@grandixximo
Copy link
Copy Markdown
Contributor Author

Just rebased to have the GitHub CI not complain, all green ready to merge, @andypugh ready to merge, small axis UI fix worth having in 2.9 as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant