Go to Post Take what you have learned, build on it and share it. Others will do the same. Enjoy the journey. - Bertman [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-02-2012, 07:16
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: Gyro Doesnt Stop!!!!

just create a constant and leave it as the default. I don't know why but if we didn't do this each time we reset it, it doesn't work at all (When you turn it on it would just keep going up to 5000 degrees without even driving in circles). When we set the gain, it worked for what we needed
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2012, 09:00
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Gyro Doesnt Stop!!!!

Quote:
Originally Posted by tilky View Post
just create a constant and leave it as the default. I don't know why but if we didn't do this each time we reset it, it doesn't work at all (When you turn it on it would just keep going up to 5000 degrees without even driving in circles). When we set the gain, it worked for what we needed
When we turn the robot on, gyro doesnt go directly to 5000 degrees. Once we move the robot, angle of the gyro starts changing and doesnt stop even if the robot is stationary. We are deploying the Gyro Example Code in Labview, we tried to wire a constant to set gain as you said whereas it didnt work for us.
What might be the problem??
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2012, 12:11
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Gyro Doesnt Stop!!!!

Quote:
Originally Posted by cilginbilgin View Post
When we turn the robot on, gyro doesnt go directly to 5000 degrees. Once we move the robot, angle of the gyro starts changing and doesnt stop even if the robot is stationary. We are deploying the Gyro Example Code in Labview, we tried to wire a constant to set gain as you said whereas it didnt work for us.
What might be the problem??
If you have the sensor board wired properly and the Gyro Example does not work, you might just have a bad sensor.

How do you have it wired? How many wires are connected, and where does each of them go at each end?
Reply With Quote
  #4   Spotlight this post!  
Unread 06-02-2012, 16:05
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Gyro Doesnt Stop!!!!

Quote:
Originally Posted by Alan Anderson View Post
How do you have it wired? How many wires are connected, and where does each of them go at each end?
http://www.usfirst.org/sites/default...meter-Gyro.pdf

We have wired it according to the pdf above.
Reply With Quote
  #5   Spotlight this post!  
Unread 06-02-2012, 21:27
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Gyro Doesnt Stop!!!!

Quote:
Originally Posted by cilginbilgin View Post
We have wired it according to the pdf above.
That doesn't answer my question at all. Please look at your wiring and describe for me where the wires are connected on the sensor board, and where each of those wires goes.
Reply With Quote
Reply


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 11:40.

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