Skip to content

Commit

Permalink
Update ORBrakeSimulationListener.java
Browse files Browse the repository at this point in the history
  • Loading branch information
nancynguyen1014 committed Jan 19, 2021
1 parent 55a42d0 commit a365263
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public double postSimpleThrustCalculation(SimulationStatus status, double thrust
}

// Differential term
diff = -( 2*Kd*(measure-prev_measure) + (2*tau-T)*diff ) / (2*tau+T);
diff = ( -2*Kd*(measure-prev_measure) + (2*tau-T)*diff ) / (2*tau+T);

// Output
out = prop + inte + diff;
Expand Down

0 comments on commit a365263

Please sign in to comment.