Go to Post Based on EXTENSIVE analysis of this image, I have concluded that we will have to use wires on our robots. I am certain of it. - theCADguy [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 06-04-2006, 23:44
Denz's Avatar
Denz Denz is offline
Registered User
FRC #0772 (Sabre Bytes Robotics)
Team Role: Programmer
 
Join Date: Jan 2006
Location: LaSalle, Ont, Canada
Posts: 66
Denz is on a distinguished road
Send a message via MSN to Denz
GTS Code Error (the red light of doom!)

A while ago I tried modifying Kevin's encoder code to work with gear tooth sensors. I had a test "robot" set up in my room, with basically a push switch on a digital in and every time I pressed it, it would trigger the interrupt and the count would increase by one.
It took a while to get working(since I'm pretty new at this) and with a little help from everyone on here (thanks guys!) I had it working fine with my practice setup. When we got to our regional, and I put it on the robot, I got a code error, the blinking red light of doom, and I don't understand why. It was working perfectly on the other processor. Any thoughts or comments?
I'll post the important parts of the code, maybe you guys can come to my rescue again.
772 is pending for ATL and we're probably going, so after scoring (very inconsistently) in autonomous maybe 1 sometimes the highest we got was 3, I would like to use the camera in combination with the GTS for better results.

If you have the time, I would really appreciate some feedback to what might be causing the code error. It worked fine at home, honest! lol. Thanks in advance...

Deniz
Attached Files
File Type: c encoder.c (10.5 KB, 34 views)
File Type: h encoder.h (4.0 KB, 28 views)
File Type: c user_routines_fast.c (8.2 KB, 31 views)
File Type: h user_routines.h (3.5 KB, 25 views)
File Type: c user_routines.c (17.5 KB, 38 views)
__________________
www.sabrerobotics.com
 


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
program light blinks red and green JBabbie Programming 3 02-03-2004 09:19
Please...no more steenkin' light! Andrew General Forum 37 17-04-2003 23:06
light visibility Erinn888 General Forum 30 17-02-2003 15:56
Important info about light Jay Lundy Technical Discussion 10 12-04-2002 11:37
Program Code for Light Sensors...etc Jimbo Programming 1 08-01-2002 00:36


All times are GMT -5. The time now is 03:15.

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