Skip to content

Commit

Permalink
Update pid_linefollower.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
vinamrsachdeva authored Dec 30, 2019
1 parent f070787 commit f964178
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pid_linefollower/pid_linefollower.ino
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
/*
* PID Line Follower
*
* NOTE: This code hasn't been tested on a robot, so values for Kp, Ki, Kd, set point etc are dummy values.
*
* Developer: Vinamr L. Sachdeva
*/

Expand Down Expand Up @@ -32,8 +29,8 @@ float error;
float correction;
float sp;

float Kp = 5;
float Ki = 0;
float Kp = 5; // dummy
float Ki = 0; //dummy
float Kd = 40; //(Kp-1)*10

void pid_calc();
Expand Down

0 comments on commit f964178

Please sign in to comment.