ut-ras / igvc

UT RAS's code for IGVC
2 stars 4 forks source link

fixed PID loop rate #16

Open robz opened 10 years ago

robz commented 10 years ago

right now, PID runs whenever the lm4f receives data from the computer. this is assumed to be 10 Hz, but it would be better if the lm4f guaranteed a fixed rate using interrupts

weng-frank commented 10 years ago

Also, 10Hz seems slow. I'd recommend something on the order of 100Hz.

kegilbert commented 10 years ago

When the PID loop rate was dictated by the communication speed, we couldn't go much faster than 20Hz without getting artifacts in the comm data. Now that Robby simplified the communication, it should be pretty trivial (and a better design) to up the PID rate and have it run independently of receiving data.