Quote:
|
Originally Posted by Kevin Watson
Can you be more specific? Are you saying that the angle information being sent to the terminal screen isn't being updated fast enough? Are use using the user_routines.c code I included in the .zip file?
-Kevin
|
I apologize, Ill try to explain better:
The print of the gyro angle increments at a very slow rate, for example when i start the program the gyro angle stays at 0 till i actually move the gyro(as expected), after I turn the gyro slowly to say 90 deg, the gyro angle starts to change, but at a very slow rate. It increases by 1 for every 5-6 print outs of the gyro angle, so if it has to reach 900 (90 deg with setting at tenths of a degree), it will take a long time to increment to that value. Isnt the gyro angle supposed change faster?
I am using the frc_gyro code version 0.4 from your website, without any changes other than gyro sample ratte at 1600Hz and samples per update at 64 (Ive tried other values to but with same results). I have not changed anything with user_routines.
Hope this makes it clearer,
Thanks.