by DirtyRoboto » Sun Jan 14, 2007 12:41 pm
by DirtyRoboto
Sun Jan 14, 2007 12:41 pm
My gyro is working fine!
I used this code pasted before main...
'Gyro Setup
GYROSET G6A,0,1,1,1,0,0
GYROSET G6D,0,1,1,1,0,0
GYRODIR G6A,0,0,0,0,0,0
GYRODIR G6D,0,0,0,0,0,0
GYROSENSE G6A,0,250,200,250,0,0
GYROSENSE G6D,0,250,200,250,0,0
I then turned the gain and setup right down. Then I just moved gain and then setup until the robot was upright (dont worry about the green/red light). Its then just a matter of small adjustments to the gyro.
My gyro is working fine!
I used this code pasted before main...
'Gyro Setup
GYROSET G6A,0,1,1,1,0,0
GYROSET G6D,0,1,1,1,0,0
GYRODIR G6A,0,0,0,0,0,0
GYRODIR G6D,0,0,0,0,0,0
GYROSENSE G6A,0,250,200,250,0,0
GYROSENSE G6D,0,250,200,250,0,0
I then turned the gain and setup right down. Then I just moved gain and then setup until the robot was upright (dont worry about the green/red light). Its then just a matter of small adjustments to the gyro.