implementation of time discrete controller
Posted: Tue May 21, 2024 12:44 pm
Hello everyone
I'm trying to implement a time discrete controller in my simulation. For that I defined a PrescribedController and wrote a function that calculates the Controlleroutput every 40 ms. I redefine PrescribedControlForActuaters new with the new output after every calculation but it doesn't change the force applied by the actuators. Does anyone have any ideas how to solve this or on how to implement the controller?
Thank you in advance
I'm trying to implement a time discrete controller in my simulation. For that I defined a PrescribedController and wrote a function that calculates the Controlleroutput every 40 ms. I redefine PrescribedControlForActuaters new with the new output after every calculation but it doesn't change the force applied by the actuators. Does anyone have any ideas how to solve this or on how to implement the controller?
Thank you in advance