Go to Post I should learn to keep my mouth shut until I actually look at the rules. - seanwitte [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 31-01-2015, 10:04
hyprvx's Avatar
hyprvx hyprvx is offline
Registered User
AKA: Devon
FRC #2151 (Monty Pythons)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Forest Park
Posts: 22
hyprvx is an unknown quantity at this point
Re: Relays only going backwards?

Quote:
Originally Posted by notmattlythgoe View Post
When you step through the code with the debugger does it attempt to execute the line that sets the relay to forward?
Yes, we see it's executing relayArms.set(Relay.Value.kForward); but no light change occurs.

Quote:
Originally Posted by mmaunu View Post
Have you verified that you are correctly detecting button 6? The debugger shows that you are in the correct loop when button 6 is held down?
We are detecting button 6, and the second part just answered above.

Quote:
Originally Posted by Joe Ross View Post
Does the LED on the relay change when you command the relay in reverse?
Yes, the relay LED changes to indicate reverse, and outputs the -12v, but does nothing on forward.

The relay is to control the motor for part of our arms mechanism.


This is a photo of our electronics board. The spike I am pointing to is the one we wish to control. The spike on the right does not work properly and will be removed soon.
__________________
My userbars were eaten by Cthulhu.


FRC team 2151, the Monty Pythons!
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


All times are GMT -5. The time now is 18:06.

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