RobotCasserole1736 / CasseroleLib

Common Libraries used year-to-year for FRC robot code
MIT License
6 stars 1 forks source link

Add gyro integration library #9

Closed gerth2 closed 8 years ago

gerth2 commented 8 years ago

The most common way of using a gyro is to get the angular rotation, and integrate it to get the actual value.

This integration must be done very carefully to reject noise from vibrations and not skew the value. The I2C Gyro already has lots of this logic.

Abstract this out to its own class. Should have the high sample rate, cubic spline integration, and FIR filtering.

gerth2 commented 8 years ago

Nothing to do here, will be covered by #5