-
Hey ! I have come across a S-curve algorithm for multi-axis machines, with the potential to enable SimpleFOC sub-nodes, with UGS. Practically speaking, how can we sync sub-drivers running SimpleFOC? Is it possible to have the first command reach each motor-controller MCU at the exact same time? If so, then we can use the zero time as the synchronizing factor. Any other idea/approach is welcome. At this point I’m just investigating. I’m starting this new discussion, since the last discussion about closed loop virtual machine was getting a bit weird. I believe this S-curve approach can actually be a viable way to have SimpleFOC nodes work w. UGS? https://github.com/Juanduino/S4_CurvePlanner/tree/main Best regards JASEP |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
What controller are you planning to use for this? |
Beta Was this translation helpful? Give feedback.
It might be possible to implement a virtual controller in UGS in a similar way as Klipper, that keeps track of the gcode state, planning, positions and inputs. But I still don't think that UGS is the platform for this.
The whole Klipper ecosystem consists of many known parts which can be controlled. For instance, its host running on an dedicated single board computer with a known OS and dependencies. Each controller board is running their own firmware which is communicating with the host through a lightweight protocol. Etc.
UGS runs on Windows x86, Windows x64, Linux x64, Linux ARM, Linux aarch64, MacOSX x64, MacOSX aarch64. This is a lot of architectures to get this working on and to sup…