View Single Post
  #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