|
Problems with the Gyro
Hi,
I started to learn how to use the gyro. I downloaded Kevin's code from the internet and tried to use it. There are some things which I haven't understood completely.
I tried to print the variable "gyro_rate", but its values were between 1800-2200.
Shouldn't it be much lower? Shouldn't this variable be measuring the angular velocity in (radians/seconds)? I don't know if there is something wrong with the code, or something wrong with my understanding. I then tried to print the value from the function Get_Gyro_Angle(), but again, the printed values were unreasonable. The value jumped from positive to negative numbers without any logical order.
I would be very glad if someone could guide me through it.
Thanks,
Guy
__________________
Team #1574 Misgav High School - Israel
Winner of the 2007 Israeli Regional
Winner of the 2007 Motorola Quality in Design Award
Visit our website:
www.miscar1574.com
|