March 21, 2014 at 04:31 #1009
It looks like you’ve worked a lot with this software. It looks promising and something I’ve been looking for a long time.
I’m no genius on “typewriter programming” so thats why visual programming tools are very welcome.
What I want is to be able to implement FuzzyLite code in the Arduino environment. Is it something that you think FuzzyLite be able to do in the future?
Maybe it is possible to modify the C ++ code to fit the Arduino language. But so good is not my programming skills … yet.March 21, 2014 at 14:52 #1011
Thanks for your question. I hope to provide support for Arduino later this year. At the moment it is not possible given that operators
deleteand exceptions are not supported by Arduino. I already have an idea to work around such limitations, but it will take me some time to be able to export Arduino C++ code.March 24, 2014 at 20:21 #1013
I will follow the development of Fuzzylite whit great interest!December 3, 2014 at 14:12 #1536
I just found you site, and am bouncing off the walls! I noticed that you planned to provide a port to Arduino “later this year”, and was wondering where that stands. I am certainly willing to support the development by buying my license.December 5, 2014 at 09:15 #1539
thank you for your post. I intended to work full-time or part-time in fuzzylite for the rest of the year, but I am still raising funds in order to be able to do so. At the moment, in my spare time, I am focused on releasing the updated version of jfuzzylite later this month.
Cheers.December 15, 2014 at 07:32 #1555
Found your site looking for Arduino fuzzy code. Great app!
That library has a subset of your functionality. It should be easy to convert one of your formats to eFFL. I’m only using the stuff EFFL supports.
FYI, if your not familiar with the Arduino and eFFL capabilities I was surprised to find their 3 input 1 output fuzzy example program on the lowly Arduino Uno only use 40% of program space and 20% of dynamic ram.December 15, 2014 at 07:47 #1556December 15, 2014 at 09:44 #1562
why would you want to use that library instead of fuzzylite?December 15, 2014 at 15:29 #1566
The first is that is was setup for immediate use in the usual Arduino package so I could have a quick look.
The second was that the Arduino Uno only has 32k of rom and 2k of ram. Thought I read that the fuzzylite required 300k for the library. I guess the whole library doesn’t end up on the arduino. I’ll look into it. That would be much better!
thanksDecember 15, 2014 at 21:40 #1567
I had the idea you could not use fuzzylite in Arduino because there you cannot use the heap, that is, allocate objects with
Object* o = new Object();.December 16, 2014 at 06:51 #1568
Tried SimpleDimmer.cpp in Arduino. This involved:
1. Unzip the sources.zip and moved the resulting fuzzylite-5.0/fuzzylite folder to the Arduino/libraries folder.
2. Moved the Headers.h file from fuzzylite/fl to fuzzylite since arduino only automatically looks in the top folders in the libraries folder for header files on startup.
3.Started Arduino and pasted SimpleDimmer.cpp into a new project.
4. Added #include <Headers.h> to the top of the SimpleDimmer.cpp file.
5. Clicked verify in Arduino and it tried to compile.
Problems look like:
In file included from /Users/michael/Documents/Arduino/libraries/fuzzylite/Headers.h:28:0,
/Users/michael/Documents/Arduino/libraries/fuzzylite/fl/fuzzylite.h:29:17: fatal error: cmath: No such file or directory
The missing files are at least:
This might not be as bad as it looks. Some of these are called in console.h which is probably not needed on arduino. You probably have an idea where these are used.
Arduino doesn’t use the standard C++ libraries like string because they are to big. It does use other libraries instead. I haven’t tried locating and including the standard C++ files. May try that just to see how big it gets. The Arduino environment will compile it even if it’s to big to fit.
I’m no expert on porting C++ to arduino but there are many on the arduino sight who could help.
I might try to compile to the AVR just to see how big the code is.December 17, 2014 at 23:46 #1570
thanks for reporting your experience on fuzzylite and arduino.
I do not know exactly where the files you mention are used, but I am pretty sure I am using them in many places. The header files that will be certainly required are: cmath, limits, vector, exception, map, string. As for the remaining ones, there might be some kind of workaround, but I do not know.
You must be logged in to reply to this topic.