Skip to content

Commit

Permalink
float should be sufficient.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkubicek committed Nov 3, 2011
1 parent 566ed1f commit 3a49a0d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ float current_raw_average=0;
#define PID_SWING_AT_CRITIAL 45 //seconds
#define PIDIADD 5

double Kp = 0.6*PID_CRITIAL_GAIN; //20.0;
double Ki =PIDIADD+2*Kp/PID_SWING_AT_CRITIAL*PID_dT; //1.5*PID_dT;
double Kd = Kp*PID_SWING_AT_CRITIAL/8./PID_dT; //80/PID_dT;
double Kc = 9; //heatingpower=Kc*(e_speed)
float Kp = 0.6*PID_CRITIAL_GAIN; //20.0;
float Ki =PIDIADD+2*Kp/PID_SWING_AT_CRITIAL*PID_dT; //1.5*PID_dT;
float Kd = Kp*PID_SWING_AT_CRITIAL/8./PID_dT; //80/PID_dT;
float Kc = 9; //heatingpower=Kc*(e_speed)
#endif // PIDTEMP

// extruder advance constant (s2/mm3)
Expand Down

0 comments on commit 3a49a0d

Please sign in to comment.