Hi Collins,
Today was a good day for coding. This morning still had a crash problem for the interpreter.
For the colors of the code i thought, RGB, red, green, blue.
Now the super imposed interpreter is running ok.
Added the realtime environment : base-thread & servo thread is loaded and running.
The servo-thread has now 3 motion components running. This is really cool.
libmotion_0.so -> produces motion for main interpreter (red)
libmotion_1.so -> produces motion for sub_0 interpreter (green)
libmotion_2.so -> produces motion for sub_1 interpreter (blue)
The idea is then to send the interpreter's gcode output to the motion components over the 1ms thread.
We do this over shared_memory.
Then we have to code the motion components. They will use the scurve and toolpath optimalisation as seen before.
The base thread has the libethercat.so component running soon. image missing /media/kunena/emoticons/smile.png This has ethercat auto configuration.
This is going to be a cool winter project.
There are a few questions, like what if sub_0 interpreter is a tool changer. The green tool cone is then not valid.
Depending on the machine configuration, the green and or blue cone must be replaced by something else?
codeberg.org/skynet/realtime_app/src/branch/master