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
HOMEMOD does not install user defined home module #1705
Comments
So the error was duplicate pin names from all of the cut and paste. Fixing them and I made some progress.
I am out of time but I suspect the most likely cause could be publishing a pin with the wrong underlying data type (eg bit as a float. I have attached the work in progress. So many pins! |
You have to follow instructions: 1)As noted in the homecomp man page, the ini setting
"# The issue tracker is NOT a support forum The LinuxCNC issue tracker is to report bugs in the |
Thanks, I had updated to the latest master but did not change the base homecomp for my code. |
Following the instructions in the homecomp man page http://linuxcnc.org/docs/devel/html/man/man9/homecomp.9.html
I have started to write a fairly complex home module for cia402 ethercat drives.
I ran up a fresh axis-mm sim and set the ini file to
My pins were not visible.
Closer inspection revelaed that Linuxcnc was still running HOMEMOD.
No errors were reported in the terminal
I used the command line option
linuxcnc -m ciahome ./axis_mm.ini
and it loaded the correct module which in turn reported some errors in my pin structure. Linuxcnc must silently revert to the internal HOMEMOD module.
EXAMPLE command line error:
HAL: ERROR: pin_new(joint.0.cia-stat-voltage-enabled) called with already-initialized memory
It seems there is no error checking being applied when loaded from the ini file
I shall keep working on this to resolve the errors and see how the ini file install goes.
It would seem prudent for Linuxcnc to report an error to the user when encountering errors like I made.
Still its exciting to be able to work on this!
The text was updated successfully, but these errors were encountered: