home Forums # Technical Support Importing controllers to C++


Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #2251

    I have designed a fuzzy controller and its implemented already in C++ operating with ROS for UAV Image Based Visual Servoing. Is there a way to import in c++ any of the other formats of fuzzy controllers that are available (.fcl, .fis, etc) so that if new design is required it would just mean substituting the file in a config folder and not the actual lines of C++ code?



    thanks for your post.

    you can use

    #include <"fl/imex/FclImporter.h">
    #include <"fl/imex/FisImporter.h">
    Engine* flcEngine = FclImporter().fromFile("path/to/your/file.fcl");
    Engine* fisEngine = FisImporter().fromFile("path/to/your/file.fis");
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.