View Single Post
  #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