Go to Post I guess everyone cant play real defense, like actually pushing the other robot instead of ramming it with the intent to destroy. - Dillon Compton [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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)
 


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
Gyro-Camera Compiling Issue Andrew Blair Programming 4 27-01-2007 19:33
Gyro/Camera Combination Code Problems cprogrammer Programming 4 21-06-2006 21:45
gyro/camera question Project X Programming 2 17-05-2006 18:37
Combining camera + encoder code kiettyyyy Programming 5 13-04-2006 09:39
Combined Camera and PID/Encoder Code Terry Sherman Programming 1 14-03-2005 17:59


All times are GMT -5. The time now is 17:43.

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