python-3.xmicrocontrollermicropythonfuzzy-logicskfuzzy

Is it possible to create a fuzzy controller with micropython?


I need to create a fuzzy controller with skfuzzy.

Is it possible to use skfuzzy to develop a fuzzy controller with Micropython?

https://github.com/scikit-fuzzy/scikit-fuzzy


Solution

  • In general you're not going to be able to run any significant Python 3 code under MicroPython. While it's "pretty close" to standard Python, the differences are enough to trip up anything other than the simplest code.

    The skfuzzy project to which you've linked depends on NumPy and SciPy, both of which are complex Python modules that depend extensively on compiled code to enhance performance. There's no chance those modules will (ever) run under MicroPython.