Go to Post Don't you have some rovers to redirect or something Dave? - Rich Kressly [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-02-2010, 17:31
team2491 team2491 is offline
Registered User
FRC #2491
 
Join Date: Dec 2008
Location: Minnesota
Posts: 14
team2491 is an unknown quantity at this point
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++.
  #2   Spotlight this post!  
Unread 03-02-2010, 15:54
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
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()));
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless setup Al3+ Programming 7 30-01-2010 14:30
Live Video Setup CHSboy Programming 2 18-03-2009 15:36
Camera Setup ExarKun666 Control System 10 25-02-2009 19:18
WI Setup Timelapse Kevin Kolodziej Regional Competitions 2 08-03-2007 10:32
CMUcam setup Ryan Collings Programming 26 13-01-2006 01:00


All times are GMT -5. The time now is 21:32.

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