Hi all,
I have a compilation error while using Teensy 4.1
The same code works fine with the ESP32 and Arduino.
Has this happened to anyone else?
Thank you
36 | PIDController pid_stb{.P = 65, .I = 120, .D = 3, .ramp = 100000, .limit = 7};
| ^
error: designated initializers cannot be used with a non-aggregate type ‘PIDController’
error: no matching function for call to ‘PIDController::PIDController()’
Hi all,
I am facing a similar issue when compiling for an MKS dual foc v3.3 running with a Lolin 32 lite.
The compilation error is :
designated initializers cannot be used with a non-aggregate type ‘PIDController’
designated initializers cannot be used with a non-aggregate type ‘LowPassFilter’
This part of code is compiling well for an ATmega 328 but I am struggling to find a solution with an ESP32.
I use the SimpleFOC version - 2.3.4