Hi Hakan,
That’s a very interesting direction.
An external_homing method handled by motion/motmod — with limits, time supervision and synchronized gantry constraints — would definitely be a robust long-term solution. The idea of a freewheeling/follow-feedback mode in motion is also conceptually very clean.
However, changes in motion/motmod are a much larger step. They require core discussion, review and consensus, and can easily turn into a longer-term architectural effort.
Right now my plan is to stay focused on the original scope of this thread:
- ]Finalize a clean modular CiA402 stack (PDS manager + opmode modules + drive-agnostic app layer)
- Validate everything in SIM
- Then test and stabilize it on real hardware
My short-term goal is to get it to the point where it becomes “boringly stable” on at least one real drive. Once that is achieved, I think it makes much more sense to revisit motion-level enhancements like external_homing or a freewheeling mode.
Otherwise we risk expanding the scope too early and spending a lot of time discussing architecture before finishing the current layer separation.
If we decide to explore motion-level changes seriously, I think it would be better to open a dedicated thread for that topic, since it would likely require deeper discussion and take some time.
For now, I’d prefer to close the CiA402 separation work first and build from there.
— Marcos