Go to Post Bless you sire and all your HD camera goodness. - pyroslev [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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
  #7   Spotlight this post!  
Unread 15-07-2009, 22:10
Happyisgood Happyisgood is offline
Registered User
FRC #3161 (Tronic Titans)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Canada
Posts: 23
Happyisgood is an unknown quantity at this point
Re: C++ Relay Code?

Ok, I will have another 5 hours or so with the Robot tomorrow, so I'll try getting it up and running then. I actually have a feeling that its a problem with my relay declaration, the reason I'm thinking this is because when I move the line

hRelay->Set(Relay::kForward);

to the TeleopPeriodic() function (essentially eliminating the need to press the trigger) the relay still remains inactive (however it is initialized I believe, the light is not flashing but solid orangeyred.)

What could cause this? Is there a limit on the number of variables etc. that can be declared in the robot? Anyway, once I'm back with the robot tomorrow I'll comment out mostly all of the code until it gets working, then slowly re-intigrate aspects of the code until it stops working and troubleshoot from there. If the schools internet is up I'll keep this updated, if its not I'll post an update tomorrow night. I need this working by Friday night so I really hope this can be resolved quickly
__________________
2009 - Waterloo Regional - Regional Finalist
2009 - Waterloo Regional - Engineering Inspiration Award


________________________

2009 Team Member 1334
Reply With Quote
 


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
Relay (Spike) elbuo Electrical 2 09-02-2009 20:36
Relay Problems starsROBOTICS NI LabVIEW 2 30-01-2009 23:40
Instance relay Team_486 Programming 0 28-03-2007 09:56
Intermittent CODE ERROR, followed by uncommanded relay switching tcj103 Programming 4 22-01-2007 02:59
Relay outputs on rc jdawson Electrical 4 26-01-2003 12:51


All times are GMT -5. The time now is 13:35.

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