CSS/G96 for other than X-axis?
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4680
- Thank you received: 2089
03 Apr 2026 08:10 #345100
by Aciera
Not sure but looking at motion/control.c gives me the impression that 'GET_JOINT_ACTIVE_FLAG(joint)' is used in motion mode FREE only:
github.com/LinuxCNC/linuxcnc/blob/c760c1...ontrol.c#L1217-L1219
but apparently not in modes TELEOP and COORD. So maybe it was only ever needed in FREE mode but who knows.
However I'm not sure this is the right place to implement what we want as we would still seems to cut things after the trajectory planner. Even if we are not updating the pos-cmd pin for that joint the internal position in the planner might still be updated and cause problems when reactivating the joint.
Replied by Aciera on topic CSS/G96 for other than X-axis?
So the NML description in the LCNC manual isn't accurate? Or perhaps not exactly clear what happens?
Not sure but looking at motion/control.c gives me the impression that 'GET_JOINT_ACTIVE_FLAG(joint)' is used in motion mode FREE only:
github.com/LinuxCNC/linuxcnc/blob/c760c1...ontrol.c#L1217-L1219
but apparently not in modes TELEOP and COORD. So maybe it was only ever needed in FREE mode but who knows.
However I'm not sure this is the right place to implement what we want as we would still seems to cut things after the trajectory planner. Even if we are not updating the pos-cmd pin for that joint the internal position in the planner might still be updated and cause problems when reactivating the joint.
Please Log in or Create an account to join the conversation.
Time to create page: 0.057 seconds