Go to Post Experience...you can't buy it, you might be able to get some for free by reading CD a lot, but usually you have to earn it, and it's not always fun. - MrForbes [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #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]
  #2   Spotlight this post!  
Unread 19-02-2007, 08:48
purduephotog purduephotog is offline
Active Defense Design Engineer
AKA: Jason
FRC #3015
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Rochester, NY
Posts: 162
purduephotog is a jewel in the roughpurduephotog is a jewel in the roughpurduephotog is a jewel in the roughpurduephotog is a jewel in the rough
Send a message via AIM to purduephotog
Re: Integrating Gear Tooth Sensor

Quote:
Originally Posted by magical hands View Post
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]

http://www.chiefdelphi.com/forums/showthread.php?t=53483&highlight=user_routines_fas t_rkw

Try this thread. I don't know if it will work for us (as I'm going to have the software students test it at 10am) but it looks like it might.

Jason
  #3   Spotlight this post!  
Unread 19-02-2007, 20:29
purduephotog purduephotog is offline
Active Defense Design Engineer
AKA: Jason
FRC #3015
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Rochester, NY
Posts: 162
purduephotog is a jewel in the roughpurduephotog is a jewel in the roughpurduephotog is a jewel in the roughpurduephotog is a jewel in the rough
Send a message via AIM to purduephotog
Re: Integrating Gear Tooth Sensor

Quote:
Originally Posted by magical hands View Post
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]
I just wanted to say that the code I pointed you to worked- it fixed out encoder problem (At least for out GTS on IO/3). No phase data is possible, so it's not perfect, but....
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gear Tooth Sensor Zoom Programming 46 22-01-2008 08:05
Gear Tooth Sensor Nathan Programming 4 12-01-2008 15:09
Gear Tooth Sensor nukem Programming 9 04-02-2006 20:21
Gear Tooth Sensor Talha Electrical 1 23-01-2006 21:29
Gear Tooth Sensor AMIRAM Electrical 2 22-01-2006 04:09


All times are GMT -5. The time now is 18:41.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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