Go to Post If you're a spectator that's going to complain about a "bad" call, you darn well better know for a FACT that the call was "bad". - AmyPrib [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 21-04-2013, 20:33
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
Off Season Experimentation

Now during the off season I have been playing around with Labview and making the robot do different tasks using sensors by using the FRC Simulator. I have been very successful during these fun test, but I have just hit a stopping point . Want I'm trying to accomplish is make the robot turn exactly 90 degrees in place by using a gyro. I have a provided a screenshot of my current autonomous code. The robot just rotates to its left and keeps rotating non stop. I can't figure out why it does that. The "Left and Right Motors" should get a value of 0 as soon as the gyro angle is equal to 90. I have opened, set gained, and closed the gyro and gave it its Refnum Name called "Gyro". The False Case is empty. Thanks in Advance!
Attached Thumbnails
Click image for larger version

Name:	Auto.JPG
Views:	82
Size:	26.2 KB
ID:	14683  
Reply With Quote
 


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 09:41.

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