- Posts: 4737
- Thank you received: 1480
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Homecomps are part of the LinuxCNC design and are intended to avoid (complex) custom coding in homing.c. The code in question is not designed for general use and has not been tested. But the changes made by the developers in 2.10 has broken every out of tree component. There is a lot of pain across many users to come......I'm sorry, you lost me. Versions 1.45, 1.46 and 1.47 of what software?
Ok, I looked at the page you linked to of the comp of Rodw, and I'm not sure it is even necessary. The same function could be probably achieved with just a few lines of hal logic using ordinary hal components, rather than writing a custom comp. Simply use a mux hal component to connect the commanded position to the feedback while the homing pin is true. (But there could be an issue if there is a large step in the FB position when homing is completed. I don't think that will happen but...)
Some of these guys get a little carried away writing custom hal comps for their nich uses when existing standard components are more than adequate. Which is fine and good for their own personal uses. But I don't always agree with them posting their "this is how it has to be done" tutorials and linking to their custom comp that is out of tree, which doesn't follow updates of the main system that may break them.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.