Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   How to integrate Gear Tooth Sensor (http://www.chiefdelphi.com/forums/showthread.php?t=54477)

magical hands 18-02-2007 17:43

How to integrate 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]


All times are GMT -5. The time now is 04:48.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi