|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Bias Calc
I am using Kevin Watson's gyro code and I was wondering if the bias calculation carries over into autonomous. The reason I am asking is that I am trying to also use Kevin's navigation code and am having trouble changing the bias calculation in robot.c to fit his new from of bias calculation. Help is appreciated.
|
|
#2
|
|||
|
|||
|
Re: Bias Calc
Once the bias of the gyro is calcuated once anywhere, it'll stay that way until you reset it or you turn of the RC (or something wierd happens to the RC's memory of course...).
Alternativly you could find the bias, output the bias, and then code the bias directly in using the number you found without actually calculating it at the start of the autonomous P.S. If you don't have a consistent gyro the second part might not be the smartest thing, but if it seems to have the same bias all the time it can be a good idea (we used it last year) |
|
#3
|
|||
|
|||
|
Re: Bias Calc
Thanks. Thats very helpful. In robot.c there was a command called Calc_Gyro_Bias and the new encoder code doesn't have the same function. What would I do to do exactly the same thing or does this mean that I don't have to do the bias calculation that is in robot.c?
Last edited by DustinB_3 : 28-01-2007 at 13:29. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Motor Bias | gshosford | Motors | 27 | 10-02-2006 01:35 |
| Fly Wheel Moment Calc. | Andrew Blair | Technical Discussion | 1 | 10-01-2006 09:15 |
| Calc. Triangle Angle or Side Based on Ellipses? | indieFan | Math and Science | 1 | 07-06-2004 21:25 |
| Q-point Calc Comments... | archiver | 2000 | 2 | 24-06-2002 00:06 |
| AP Calc | Jeff Waegelin | Chit-Chat | 10 | 08-05-2002 21:08 |