Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Gyro setup? (http://www.chiefdelphi.com/forums/showthread.php?t=81734)

team2491 02-02-2010 17:31

Gyro setup?
 
Hey folks, if there's another thread covering this issue, go ahead and redirect us- we just tried installing the gyro. Everything seems to work, but the data we get is nonsense. It gives us a seemingly random huge number (somewhere between 100000 and 999999, I think) which quickly increases with each GetAngle call. Any ideas on why this is happening? We're using C++.

byteit101 03-02-2010 15:54

Re: Gyro setup?
 
are you using set sensitivity to set it to 0.007 (assuming KOP gyro)?
is it plugged in and wired correctly?
does this give you any different values:
printf("%d\r\n",((int)gyro.GetAngle()));


All times are GMT -5. The time now is 02:05.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi