|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: gyro and accelerometer problems
Quote:
-Kevin |
|
#2
|
||||
|
||||
|
Re: gyro and accelerometer problems
OK! so! i think i figured out the problem! it was probably the combination of
A: the gyro being plugged into the wrong port (curse you electrical people!), and B: the fact that i hadn't called Process_Gyro_Data() from Disabled_Spin() |
|
#3
|
||||
|
||||
|
Re: gyro and accelerometer problems
OK! so now it isn't working! I've called several print statements and writing chars. all the appropriate pieces get called, but the value of:
Code:
temp_gyro_rate = (int)Get_ADC_Result(GYRO_CHANNEL) - gyro_bias; the gyro rate is generally around 30 or -31, but jumps around between these, even though the robot is still during calibration, and these don't change when i'm rotating the robot i'm completely stumped... could we need a new gyro? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Gyro/accelerometer/Gear tooth sensor | sparrowkc | Technical Discussion | 2 | 11-01-2008 22:47 |
| Gyro Autonomous Problems | cprogrammer | Programming | 5 | 23-03-2007 14:28 |
| Gyro/Accelerometer | Drew Shapiro | Programming | 5 | 06-02-2006 22:44 |
| accelerometer problems | kjohnson | Programming | 3 | 02-02-2005 10:53 |