Go to Post this has Bugs Bunny/Road Runner physics written all over it! - KenWittlief [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 04-02-2013, 15:44
chriz4gx chriz4gx is offline
Registered User
AKA: Christopher Villar
FRC #2871 (Beantown Botz)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Boston,MA
Posts: 45
chriz4gx is an unknown quantity at this point
Using Gyro to turn robot during Autonomous

So this year my team is trying to use a gyro to make the robot turn exactly 90 degrees during autonomous. How would I make the gyro turn the motors of the drive train to successfully turn the robot 90 degrees? How would you wire the gyroscope, since its my first time using gyroscopes? How would the placement of the gyro in the physical robot effect what 90 degrees actually is? If you have any tutorials or examples that do such a thing please direct me to them. Thanks in advance
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2013, 16:23
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,113
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: Using Gyro to turn robot during Autonomous

Examples abound.

The "FRC 2013 Getting Started" window that appears when you open the LabVIEW application has several tabs labeled along the left side. Clicking on the "Support" tab shows a number of options. One of them is "Find FRC Examples..." It has a magnifying glass icon next to it. Click on that option and the NI Example Finder will open.

The Gyro example is in the Sensors subfolder inside the FRC Robotics folder. After you've looked at it and tried it out, you might have further questions.
Reply With Quote
  #3   Spotlight this post!  
Unread 05-02-2013, 09:31
Doug Norman's Avatar
Doug Norman Doug Norman is offline
Registered User
no team (National Instruments)
Team Role: Engineer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Austin, TX
Posts: 137
Doug Norman will become famous soon enoughDoug Norman will become famous soon enough
Re: Using Gyro to turn robot during Autonomous

On the Tutorials tab of the LabVIEW Getting Started Window, you might also look at Tutorial 10 - Robot Simulation, and Tutorial 7 - Integrating Examples into Robot Code. It just so happens the simulated robot includes a gyro, but you still have to add the gyro code. But it also just so happens that Tutorial 7 shows you how to add gyro code. I have used the simulator to turn a robot 90 degrees in autonomous.
__________________
Doug Norman
National Instruments
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 22:53.

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