Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Using Gyro to turn robot during Autonomous (http://www.chiefdelphi.com/forums/showthread.php?t=112732)

chriz4gx 04-02-2013 15:44

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

Alan Anderson 04-02-2013 16:23

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.

Doug Norman 05-02-2013 09:31

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.


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

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