Skip to content

Commit

Permalink
add sinuisodal reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Accacio committed Nov 12, 2021
1 parent 018b4c7 commit 160656e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions control.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ double M=sys.M;
double m=sys.m;
double D=m*l*l*(M+m*(1-ca*ca));
double d=sys.d;
/* x=x+sin(t/2); */

if(fabsf(a-PI)<0.9){
double k[4]={-100.0,-183.2,1683.0,646.6};
u=(-k[0])*x+(-k[1])*dx+(-k[2])*(a-PI)+(-k[3])*da;
Expand Down

0 comments on commit 160656e

Please sign in to comment.