usb232
- 4
- 0
im trying to implement a tilt sensing program via accelerometer and gyroscope. part of the input that i will plan on using is gyroscope data. since gyroscopes measure angle/sec, integrating this will give me angle right? i then have three questions:
1. do i multiply the gyroscope's (1/sampling rate) to the deg/sec to get degrees?
2. if i am to do the first one, for lack of a better term am i going to "discretize" the value? that is, any angle measurement i take is multiplied to a constant = (1/sampling rate) OR
3. do i do something like this 1/ (sampling rate*n) where n is the sample number?
thank you!
1. do i multiply the gyroscope's (1/sampling rate) to the deg/sec to get degrees?
2. if i am to do the first one, for lack of a better term am i going to "discretize" the value? that is, any angle measurement i take is multiplied to a constant = (1/sampling rate) OR
3. do i do something like this 1/ (sampling rate*n) where n is the sample number?
thank you!