Project

General

Profile

Revision 7741ab09

ID7741ab09ee53490124c3fda719f2fc1f64efaabd

Added by Priya about 12 years ago

Added a time thing to PID control

View differences:

control/pid_test.cpp
7 7
  float result = 1;
8 8
  for(int counter = 0; counter < 100; counter++)
9 9
  {
10
    result = meow->pid(result);
10
    result = meow->pid(result, counter+1);
11 11
    printf("%f\t", result);
12 12
  }
13 13
  return 0;

Also available in: Unified diff