View Single Post
  #1   Spotlight this post!  
Unread 18-02-2013, 14:24
AquaMorph's Avatar
AquaMorph AquaMorph is offline
Alumnus of 2059
AKA: Christian Colglazier
FRC #2642 (Pitt Pirates)
Team Role: Mentor
 
Join Date: Jun 2010
Rookie Year: 2008
Location: Cary
Posts: 78
AquaMorph is on a distinguished road
Gyro angle will not work with robot code

I am trying to get an angle from the gyro and I am able to get the sample code to work. But when I try to use the sample code on the robot code it just outputs a constantly increasing number from 0-360. I attached the code below. Can anyone tell me why this is happening?
Attached Thumbnails
Click image for larger version

Name:	Begin.PNG
Views:	28
Size:	1.9 KB
ID:	14087  Click image for larger version

Name:	Teleop.PNG
Views:	34
Size:	7.2 KB
ID:	14088  Click image for larger version

Name:	Finish.PNG
Views:	26
Size:	1.8 KB
ID:	14089  
__________________
FRC Drive: Play Store FRC Manager: Play Store
Reply With Quote