@runger @JorgeMaker @Antun_Skuric
Just so you know, I’ve put quite a bit of effort on the data logging side. I chose to go separate way from the commander interface since I aim for real-time data logging performance, probably on a separate, outbound-only. data link. I won’t be needing SimpleFOCStudio’s connectors. I tried, but I then found a solution that’s both simpler and much, much higher performing. I should be ready for a little demo by monday or tuesday.
Beware, it’s Pyside6-only (pyqt5 is GPL, btw), uses QtQML, and it parses C-code sunch as “Arduino-FOC/src/common/foc_utils.h” to genrate parsers automatically. It’s going to be a bit nasty at first, but don’t worry, I hate nasty code.
for example, to send a struct from MCU, it becomes as simple as:
Serial.println("PhaseCurrent_s");
Serial.write((uint8_t*)(&pc), sizeof(pc));
from python side, my architectural aim is to have not a simple loc to add to support a new C struct.
I use pyclibrary to parse c structs definition, and then convert them to numpy structured arrays.
I have a POC, but I’m to proud to show it as it is