Go to Post You are what this world needs: a hero kids of all ages and backgrounds can look up to. I am a better person today than before I met you, because of how you touched my life. I thank-you. - Paul Copioli [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 02-02-2008, 11:37
Madalis's Avatar
Madalis Madalis is offline
Registered User
FRC #1807
Team Role: Programmer
 
Join Date: Jul 2006
Rookie Year: 2006
Location: Allentown, NJ
Posts: 1
Madalis is an unknown quantity at this point
Gear Tooth Sensor in Kevin's C18+ Code

I recently downloaded Kevin's new C18+ Code and successfully implemented it to use the 2008 kit of parts gyro. Afterward, I attempted to use the encoder code for the 2007 KOP gear tooth sensor (because of notifications that we received regarding errors in the 2008 gear tooth sensors. After going through all the steps listed to enabling the encoder, replacing the phase B logic and uncommenting the testing code in teleop.c, I tested it. After multiple attempts, the terminal was not receiving any gear tooth input (it would display "EL=0" every time). However, there were massive jumps at seemingly random times. After more testing I believe that these jumps in the value were being caused by momentary disconnection of the sensor from the power supply.

Please help us. Any suggestions could be useful. This could be a programming error or it could be an error in the use of the sensor (this is the first time our team has tried to use the gear tooth sensor.
__________________

Team 1807 ~ Redbird Robotics
2006 NJ Rookie All-Star award
2006 Championship Curie Division


  #2   Spotlight this post!  
Unread 02-02-2008, 13:28
Spider-Man's Avatar
Spider-Man Spider-Man is offline
Curling Rocks
AKA: Adam Jacobson
FRC #0467 (DTB/Shrewsbury Colonials); #0034 (Rocket City Robotics)
Team Role: Mentor
 
Join Date: Dec 2006
Rookie Year: 2000
Location: Shrewsbury, MA USA
Posts: 86
Spider-Man has a spectacular aura aboutSpider-Man has a spectacular aura about
Re: Gear Tooth Sensor in Kevin's C18+ Code

First of all, did these changes your code work with the 2008 KOP GTS?

Also, DivSys, the creators of the boards have said that this problem has existed for 2 years and have offered to fix the boards from this year:
Chief Delphi Thread by DivSys

Finally, you cannot use the 2007 KOP GTS on this year's robot:
FIRST Q & A Response

If you want, you can list the changes that you made or post snippets of code showing how you used KWatson's encoder code, so that we can figure anything out.
__________________
Student [2000 - 2001] Team 34 Rocket City Robotics
Plays Well With Others
2000 VA - Delphi "Driving Tomorrow's Technology"
2000 CMP - Top 5 Autodesk Visualization
2001 TX - Regional Finalist

Mentor [2004 - 2005][2007 - ????] Team 467 Shrewsbury Colonials (nee Duct Tape Bandits)
We Not Me
2004 LI - DaimlerChrysler Team Spirit
2004 LI - Website Design
2005 MD - Delphi "Driving Tomorrow's Technology"
2007 MA - Johnson & Johnson Sportsmanship
2008 CT - Judges' Award
2008 PA - Judges' Award

2010 MA - Judge's Award[/size][/font]
2012 DC - Chrysler Team Spirit[/size][/font]
2012 DC - Regional Winners[/size][/font]
2013 MAWO - Engineering Inspiration[/size][/font]
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? Raikon Kit & Additional Hardware 3 09-02-2007 16:40
Gear Tooth Sensor AMIRAM Electrical 2 22-01-2006 04:09
LabView Gear Tooth Sensor Code SkiRacer LabView and Data Acquisition 2 17-01-2006 03:53


All times are GMT -5. The time now is 23:45.

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