Hello
I want to control stewart platform model in simulink.I choose FOPID controller and the method used for tuning controller parameters is Particle swarm Optimization.I have a problem that weather i should take the cost function as max error from all the six legs or take error from each leg independently as cost function.