My controller module needs to read feedforward control data from a number of .csv files. Is there a path in the firmware where I can store these files and read from them (fopen("?/myfile.csv", “r”))?
Would I rather want to use the microSD card for this? If so, what would the path be?
Bear with my stupid question here (I’m a bit out of my depth), but I’d like to be 100% confident I’m doing this correctly before I move on. So, in the main file of my controller module, there’s no reason I couldn’t write exactly this and expect it to work?
I’m running a HITL simulation right now and when fopen() gets called, QGC says “connection lost”, which isn’t a very helpful message. I’m still figuring out debugging with PX4 though, so that’s probably the bigger issue.