Go to Post Programming isn't that hard once you get the hang of it. It has a steep learning curve like math. One day your trying to figure out 1 1, then the next day they throw x and y at you. Once you understand what x and y represent and learn to think in terms of functions, it's as easy as pi. - sciguy125 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 19-02-2012, 20:26
neal's Avatar
neal neal is offline
Neal
FRC #1777 (Viking Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2009
Location: United States
Posts: 56
neal is an unknown quantity at this point
Gyro value not consistent

We have used a gyro before and in fact, we are using the same one this year that we used last year. I'm not sure what setSensitivity does, but I have it set to default (0.007).

If I reset the gyro, and read the angle, it stays around 0. And if I move 30 degrees, gyro.getAngle() does change from 0 to 30, but after that it keeps on moving up slowly even if the robot stops moving. It's really slow but it changes from 30 to 33 in 15 seconds.

I am pretty sure this did not happen last year. We will try a different gyro tomorrow.

If there's anything else we could check or if there's something we're doing wrong, any suggestions are appreciated!

Thanks!
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:12.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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