View Single Post
  #1   Spotlight this post!  
Unread 18-02-2007, 17:50
magical hands magical hands is offline
Jigar Patel
AKA: Jigar Patel
FRC #2185 (Etobicoke CI)
Team Role: Mentor
 
Join Date: Dec 2003
Rookie Year: 2004
Location: TORONTO
Posts: 93
magical hands is on a distinguished road
Smile Integrating Gear Tooth Sensor

Hello everyone,
I hope everyone has been working hard for past 6 weeks. Well actually I have a question regarding integration of gear tooth sensor. We so far have camera and gyro integrated. So basically our camera can track and lock on the light and than gyro can help position our robot facing the light. However, now we are facing the goal so we thought of using Gear Tooth Sensor to move our robot precisely to the goal. Based on the threads i tried to use Kevin's encoder code to run our gear tooth sensor but it doesn't work. Can anyone be please specific on how to get Gear Tooth Sensor programmed?

I took kevin's encoder.c and encoder.h and called encoder. h in user_routines_fast.c. I changed the interupt handler was installed but yet it didn't work. If someone can please give me some specific directions than it would be great Have fun everyone!

Jigar [1219]