![]() |
Gyro/Accelerometer
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? |
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. |
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.
|
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 |
Re: Gyro/Accelerometer
Quote:
|
Re: Gyro/Accelerometer
Quote:
|
| All times are GMT -5. The time now is 01:36. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi