View Single Post
  #1   Spotlight this post!  
Unread 18-02-2007, 17:19
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
Encoder, GTS, Gyro, Camera != Work

Good Evening-

Our student programmer (and I) have hit a wall. He integrated the Gyro, Camera BW, and Encoder solutions. While the camera and gyro work, the encoder fails.

I have tested his encoder sample program Kevin provided- it runs on IO1, IO2, and IO3 (although 3 is odd behaviour).

We have 2 wheel encoders capable of sensing direction but have chosen not to implement that this time. The third (going on IO pin 3) is the GTS, and works properly with these files modified files:

(frc_encoder) - works
(frc_camera) - doesn't work.

I have even gone so far as to replace the encoder files from the project that doesn't work with the one that does work, and modified the user-routines-fast interrupt, and it still doesn't work.

I tried the 2006_combined_code that was at this thread (

Suggestions welcome. I'm having the student tear thru the code again but the hardware ships monday- working or not working.

Jason
Attached Files
File Type: zip frc_encoder.zip (12.4 KB, 75 views)
File Type: zip frc_camera_21.zip (16.5 KB, 32 views)