Thread: Gyro problems
View Single Post
  #7   Spotlight this post!  
Unread 08-02-2014, 16:02
Roshang Roshang is offline
Registered User
FRC #0204
 
Join Date: Feb 2014
Location: Eastern High School
Posts: 1
Roshang is an unknown quantity at this point
Re: Gyro problems

Hi,
I've been trying to implement a gyro into our code so that we can do field-oriented Mecanum Drive. I've gotten the gyro and the mecanum drive to work in their own programs. However, when I put them in the same program, neither work. I've tried it with both in teliop and with the gryo code in periodic storing angle to a global variable, which is read in teliop with the drive control. With my code as it is right now, if I only deploy teliop.vi from labview, the gyro works. But with the entire code deployed, it doesn't. I'm at my wit's end trying to figure out what's wrong. Any ideas?
Thanks
Attached Thumbnails
Click image for larger version

Name:	Begind.png
Views:	12
Size:	11.5 KB
ID:	16162  Click image for larger version

Name:	Teleopd.png
Views:	16
Size:	37.9 KB
ID:	16163  Click image for larger version

Name:	Teleopd10.png
Views:	5
Size:	1.8 KB
ID:	16164  Click image for larger version

Name:	Teleopp.png
Views:	8
Size:	11.8 KB
ID:	16165