Hi!I am using this library to generate a code for inverted pendulum balancing. The inputs to the Fuzzy Logic Controller are coming from accelerometer and gyroscope. The output of the FLC is showing pertinence in it's sets, but output itself remains zero all the time. Please help me solve this problem. Thanks.
the eFLL (Embedded Fuzzy Logic Library) library is a versatile, lightweight and efficient option to work with Fuzzy Logic in embedded systems, including our great Arduino!To know more about it, visit:Documantation, usage, examples: http://www.zerokol.com/2012/09/arduinofuzzy-fuzzy-library-for-arduino.htmlOficial code page: https://github.com/zerokol/eFLL
For the records...Not a float issue at all! Problems come from memory: you can't use a 7x7 rules matrix with an AVR!Good practice is to test all addFuzzyxxx() call, and check if they return true. If not, it means there is not enough memory to store the object.Hope this helps.