View Single Post
  #3   Spotlight this post!  
Unread 24-01-2012, 22:58
alphadog0309's Avatar
alphadog0309 alphadog0309 is offline
Registered User
AKA: Karan Hiremath
FTC #0110 (MFS Foxes)
Team Role: Programmer
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Moorestown, New Jersey
Posts: 41
alphadog0309 will become famous soon enoughalphadog0309 will become famous soon enough
Re: [FTC]: I really need help on gyro!!!

I realize that I forgot a few things and for some reason I cannot edit my OP...

at the beginning of your code, you will need to import the HTGYRO driver written by Xander Soldaat, the writer of all the RobotC 3rd Party Sensor Drivers

you can find this file in the Sample Programs->3rd Party Sensor Drivers->drivers folder and can import it using:

#import "HYGYRO-driver.h";

I also have one error in my code... where it says "direction == 1" and "direction == 2" it should be "turningRight" and "turningRight == false"

If you have any other question be sure to let me know

(Sorry mods for the DP but I couldnt edit my original post :/ )
__________________
Karan Hiremath
FTC Team 110- MFS Foxes
Facebook: MFS Foxes
YouTube: MFS Foxes
Twitter:
@Foxes_110
Co-Captain
Head Programmer
Service Coordinator
Builder
Electrical
Reply With Quote