I need to implement new controller which uses some kind of algorithm to solve an optimization problem. I have found one open source codes from somewhere and used it in visual studio project solution successfully. I moved two files with both cpp and h files into library folder and included one of them into ArduCopter.cpp file.
I am getting an error from ios_base() function which is in the iostream -> ostream. I couldn’t solve the issue. One file uses ostream and I think that is the reason why I get the error. I suspect that the files may not be compatible with ardupilot or embedded coding.
I have open new topic in stackoverflow also with more detailed explanations. Please see the link here.