|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
I am developing some gyro and acceleromter code for my team and have one big question? Is there some standard ratio between the analog output from the gyro./accel. and there values in degrees/sec / meters/sec^2. I'm not even sure what unit the accel. outputs.
I understand that there are documents at www.analog.com to help out, but they are way to confusing for me to understand. Can someone put it in simpler terms? |
|
#2
|
|||
|
|||
|
Re: Gyro/Accelerometer
Look at http://www.kevin.org/frc
It has everything for the gyro working quickly in frc_gyro.zip The accelerometer is a bit harder...But it's not the best way to track position anyway. |
|
#3
|
||||
|
||||
|
Re: Gyro/Accelerometer
I understand that Kevin Watson has developed code for the gyro, but I am deveoping something independently. I just want to know the ratio from Analog value to actual value. I don't want to go fishing through Mr.Watson's code if someone already knows where to look.
|
|
#4
|
|||
|
|||
|
Re: Gyro/Accelerometer
It's all in the specsheets, which are at http://www.usfirst.org/robotics/2006/2006specsheets.htm
Keeping in mind that the analog signal is between 0V and 5V, and the specsheets mention (on the third or so page) the info in units of <unit of acceleration or angular velocity>/V you can determine what analog value corresponds to which. Keep in mind that it might not use the whole range of 0-1024 (or whatever the range is depending on how many bits of precision you get.) You just need to analyze the specsheet |
|
#5
|
||||
|
||||
|
Re: Gyro/Accelerometer
Quote:
|
|
#6
|
||||
|
||||
|
Re: Gyro/Accelerometer
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|