Advertisement
ulises114

Untitled

May 18th, 2018
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1.       //Parametros PD
  2.       //q0=42.0;
  3.       //q1=-7.0;
  4.       //q2=0.0;
  5.  
  6.       //Parametros PID
  7.       q0=42.0;
  8.       q1=-45.5;
  9.       q2=7.0;
  10.  
  11.       // calculamos la acción de control
  12.       //PD
  13.       //u=q0*e+q1*e1;
  14.       //PID
  15.       u=q0*e+q1*e1+q2*e2+u1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement