Thank you for this work!
I'm keeping the text below this because it might still be relevant, but I think I found out why I couldn't get it to work:
Deep in the psng.hal file is both the key to my problem and also a thing that should be flagged...
One needs python-scipy. (psng.hal line 20)
However, if one is on Bookworm, aka Debian 12, then you can no longer sudo apt install python-scipy.
One must install python3-scipy,
and one has to change psng.hal line 22 to:
loadusr -Wn probe.compensation python3 ./nc_subroutines/psng/python/compensation.py
I've done that and will begin changing shortly.
Thank you again! This is great.
Here's a sample of my woes prior to figuring this out, don't read it unless you're curious about the symptoms fixed by what I've written above.
I installed it and can't make it work on LinucCNC 2.9.0-pre1-1066-g8fd469d67 in AXIS
I get a grey screen

In trying to debug what might be wrong, I tried removing the "-H nc_subroutines/psng/psng.hal" from the "EMBED_TAB_COMMAND=gladevcp..." line and moved it to a HALFILE = nc_subroutines/psng/psng.hal
Doing that gives me an error on startup telling me:
"Error in file ./nc_subroutines/psng/psng.hal: Pin 'probe.toolchange_change' does not exist"
But this may be a wrong-road I have taken...
When I try to run it with the EMBED_TAB_COMMAND intact, I get a different error in the terminal log:
nc_subroutines/psng/psng.hal:22: execv(python): No such file or directory
nc_subroutines/psng/psng.hal:22: waitpid failed python probe.compensation
nc_subroutines/psng/psng.hal:22: python exited without becoming ready
'halcmd -f nc_subroutines/psng/psng.hal' exited with 1
Seems to mean this line is wrong:
loadusr -Wn probe.compensation python ./nc_subroutines/psng/python/compensation.py
I see the comment above that says "you need sudo apt-get install python-scipy" ... but I'm on Debian 12 aka Bookworm, and that package is not in the repository.
Will finding a way to get that package onto bookworm solve this problem?
Thank you for this work!
I'm keeping the text below this because it might still be relevant, but I think I found out why I couldn't get it to work:
Deep in the psng.hal file is both the key to my problem and also a thing that should be flagged...
One needs python-scipy. (psng.hal line 20)
However, if one is on Bookworm, aka Debian 12, then you can no longer sudo apt install python-scipy.
One must install python3-scipy,
and one has to change psng.hal line 22 to:
loadusr -Wn probe.compensation python3 ./nc_subroutines/psng/python/compensation.pyI've done that and will begin changing shortly.
Thank you again! This is great.
Here's a sample of my woes prior to figuring this out, don't read it unless you're curious about the symptoms fixed by what I've written above.
I installed it and can't make it work on LinucCNC 2.9.0-pre1-1066-g8fd469d67 in AXIS
I get a grey screen

In trying to debug what might be wrong, I tried removing the "-H nc_subroutines/psng/psng.hal" from the "EMBED_TAB_COMMAND=gladevcp..." line and moved it to a HALFILE = nc_subroutines/psng/psng.hal
Doing that gives me an error on startup telling me:
"Error in file ./nc_subroutines/psng/psng.hal: Pin 'probe.toolchange_change' does not exist"
But this may be a wrong-road I have taken...
When I try to run it with the EMBED_TAB_COMMAND intact, I get a different error in the terminal log:
nc_subroutines/psng/psng.hal:22: execv(python): No such file or directory
nc_subroutines/psng/psng.hal:22: waitpid failed python probe.compensation
nc_subroutines/psng/psng.hal:22: python exited without becoming ready
'halcmd -f nc_subroutines/psng/psng.hal' exited with 1
Seems to mean this line is wrong:
loadusr -Wn probe.compensation python ./nc_subroutines/psng/python/compensation.py
I see the comment above that says "you need sudo apt-get install python-scipy" ... but I'm on Debian 12 aka Bookworm, and that package is not in the repository.
Will finding a way to get that package onto bookworm solve this problem?