-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Gmoccapy - remove AUTOMATIC_G43 #3113
base: master
Are you sure you want to change the base?
Conversation
Gmoccapy had automatic activation of tool offsets using the G43 command after a tool change. The automatic G43 caused "race condition problems" in some configurations. That's why it was removed. Automatic G43 should be implemented by LCNC remap functionality not GUI.
Added python code for M61 in /configs/sim/gmoccapy/python/stdglue.py
My fault - i cannot remove commit from Github
Since the bug with M61 disabling MDI mode is not related to this PR I would suggest to remove this particular issue from the description of this pull request and file it in the 'Issues' list. |
as for the broken configs, try these modifications: in 'configs/sim/gmoccapy/lathe_configs/lathe_macros.ini' replace this line: in configs/sim/gmoccapy/non_trivial_kinematics/table-rotary-tilting/xyzac-trt.ini |
Could you edit the initial comment with the bug description and remove everything regarding the M61 bug and move that over to the issue you opened about this #3120 This way it would be much clearer that the two are not related. |
After solving the bugs I will mark them [SOLVED]. I'll test your solution suggestions tonight. I hope it's clearer now. |
My apologies, I was under the impression that the m61 bug was not related to your changes to the ini file. [edit] |
Testing 'configs/sim/gmoccapy/lathe_configs/lathe_macros.ini' with my suggested I actually get errors:
the issue here is that the original So this is really something that was already broken in all the configs inside a sub folder of 'configs/sim/gmoccapy'. In none of those configs can we use for example 'o<i_am_lost>call'. Fixing this seems to be somewhat tricky because of this path that is used inside the macro ngc files:
So I would suggest to move your two new ngc files into a new 'subroutines' folder and then to add that to the 'SUBROUTINE_PATH' as either ':subroutines' or ':../subroutines' depending on whether the .ini file is located in the 'configs/sim/gmoccapy' folder or a subfolder. |
repaired SUBROUTINE_PATH = ./examples:../../macros
Gmoccapy had automatic activation of tool offsets using the G43 command after a tool change. The automatic G43 caused "race condition problems" in some configurations. That's why it was removed. Automatic G43 should be implemented by LCNC remap functionality not GUI.
This PR fix many bugs:
#2489
#2613
#2453
......
Here rmu75 explain why automatic_G43 is not good in GUI:
#2841 (comment)
Here Norbert allow me remove automatic_G43 from Gmoccapy:
#2841 (comment)
Sorry that this PR contains a lot of commits. I can only use Github in a web browser.
Unfortunately, this patch produced, or rather pointed out, more bugs:
using M61 disable MDI window [SOLVED - this bug is not related with this PR]
remap broke these configurations: lathe_macros.ini, xyzac-trt.ini [SOLVED]
I would like ask for help.