Go to Post I then thought "hmm, who would want to attack the FIRST website?" I guess unfortunately the answer to that would be "Mother Nature." - Adam Shapiro [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 09-02-2010, 21:00
Lumit Lumit is offline
Registered User
FRC #2521
 
Join Date: Jan 2010
Location: Oregon
Posts: 26
Lumit is an unknown quantity at this point
Gyro spinning while stationary

So... We plugged in last year's Gyro (veteran team), and the indicator on the control panel is just spinning around like crazy while it's just sitting there.

It doesn't seem to be affected by any real movement of the bot... just this random spinning.

Do we have a bad Gyro? Or is there something we were supposed to do to make it work for this year's code?
  #2   Spotlight this post!  
Unread 09-02-2010, 21:17
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Gyro spinning while stationary

Try calling Gyro:Reset in Begin or sometime you know the robot is not moving. This will re-set the centerpoint.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #3   Spotlight this post!  
Unread 09-02-2010, 21:27
Lumit Lumit is offline
Registered User
FRC #2521
 
Join Date: Jan 2010
Location: Oregon
Posts: 26
Lumit is an unknown quantity at this point
Re: Gyro spinning while stationary

Quote:
Originally Posted by apalrd View Post
Try calling Gyro:Reset in Begin or sometime you know the robot is not moving. This will re-set the centerpoint.
We have been able to re-set the center point, it doesn't stop it from spinning.

It's like the second hand on a clock (only much faster), you can forcibly move it back to 12 but it will continue spinning at the same rate regardless.
  #4   Spotlight this post!  
Unread 09-02-2010, 22:16
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Gyro spinning while stationary

Probe the output of the gyro using a multimeter. What does it say? It should be somewhere between 2 and 4 volts. If it is 0 or 5 then that is your problem.

Did you insert a wire backwards? That could cause problems.
Is the gyro powered? That could also cause problems.
Is the analog board powered? see above

Make sure you only reset it when you are not moving, and don't move it when booting up. If you might have been moving it while it was on, reboot it and try again without moving it. I have no idea when it actually sets the centerpoint, as that is protected code that is not accessible to teams (it runs on the FPGA), but I would assume it does this on Reset and startup. When it does get the centerpoint, it will think anything + or - of that centerpoint is movement, so if it was moving when it got the centerpoint it will now think that stationary is movement.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
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
spinning kickers Da Kid Rules/Strategy 7 24-01-2010 00:38
IFI Traction Wheel stationary? Kilroy0846 Technical Discussion 10 31-12-2007 16:11
Spinning Cylinders Rick TYler Technical Discussion 5 04-02-2006 02:36
Stationary robots? Alex Burman Rumor Mill 13 21-12-2005 23:22
Stationary Goal Reinforcement Dr.Bot General Forum 8 20-02-2004 08:12


All times are GMT -5. The time now is 07:46.

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