Quote:
|
Originally Posted by nobtiba
As we know, if we intergrate the angular rate we'll get the angular. That's why we can use MEMS gyro to measure angular. I'm now using ADXRS150 gyro. But I don't what intergration hardware (what chip or processor) can do this (intergral). Can any one tell me a bit detail about this plz!
|
See Section 16 of "An Introduction to C Programming for FIRST Robotics" that provides code snippets, a full discussion, and how to tune out some of the quantization error. The current version can be obtained at:
www.srvhsrobotics.org ->
Articles ->
Technical Documents ->
C Programming for the Robot Controller
Have fun. Done forget to read the gyro at startup to set the "old"
value, or you will have a bogus value for the integral on startup.