Go to Post Do what you do well and I'm sure there will be much hope in your future! - Collmandoman [more]
Home
Go Back   Chief Delphi > Technical > Pneumatics
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
  #31   Spotlight this post!  
Unread 24-06-2014, 12:54
Team 4939 Team 4939 is offline
Registered User
AKA: Anshul Shah
FRC #4939 (All spark 9)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Brampton
Posts: 52
Team 4939 is an unknown quantity at this point
Re: Pneumatics system code

Nothing different happened even though I changed the code, also the lights on the solenoid turned off.
  #32   Spotlight this post!  
Unread 24-06-2014, 13:01
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Pneumatics system code

Off? Ok, it sounds like you have a bad spike relay. Replace the spike with a different one and we'll see what happens. Also, what are teh LEDs on the digital side car above the relay section showing?
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
  #33   Spotlight this post!  
Unread 24-06-2014, 13:15
Anthony4939 Anthony4939 is offline
Registered User
None #4939
 
Join Date: Feb 2014
Location: Brampton
Posts: 25
Anthony4939 is an unknown quantity at this point
Re: Pneumatics system code

Changed spike, no change. No LEDs lit on sidecar.
  #34   Spotlight this post!  
Unread 24-06-2014, 13:16
Team 4939 Team 4939 is offline
Registered User
AKA: Anshul Shah
FRC #4939 (All spark 9)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Brampton
Posts: 52
Team 4939 is an unknown quantity at this point
Re: Pneumatics system code

We changed the spike but nothing different happened.

Here is how our sidecar looks right now:

http://postimg.org/image/xbjxvkuln/
  #35   Spotlight this post!  
Unread 24-06-2014, 13:19
Domenic Rodriguez's Avatar
Domenic Rodriguez Domenic Rodriguez is offline
Registered User
FRC #0316 (LuNaTeCs)
Team Role: College Student
 
Join Date: Sep 2010
Rookie Year: 2011
Location: Grove City, PA
Posts: 213
Domenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura about
Re: Pneumatics system code

Out of curiosity, have you tried hooking up your compressor yet? If the relay for your compressor is also not working, you may have an issue with your Digital Sidecar.
__________________

LuNaTeCs - Learning Under Nurturing Adults Teaching Engineering Concepts and Skills - Small and Mighty!

FRC 316 LuNaTeCs - Student (2011-2014), Lead Programmer (2011-2014), Team Captain (2013-2014), Operator (2013), Drive Coach (2014), Mentor (2015-????)
'11 Philly Regional Finalists, '13 Chestnut Hill Finalists, '13 Lenape Champions, '13 Archimedes Division, '14 Chestnut Hill Champions, '14 Lenape Champions
FTC 7071 EngiNerds - Founding Advisor (2013-2014) | FRC 5420 Velocity - Founding Advisor (2015)
Grove City College Class of '18, Electrical/Computer Engineering (B.S.E.E)

  #36   Spotlight this post!  
Unread 24-06-2014, 13:20
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Pneumatics system code

Is that side car picture with or without your code in Teleop?
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
  #37   Spotlight this post!  
Unread 24-06-2014, 13:22
Team 4939 Team 4939 is offline
Registered User
AKA: Anshul Shah
FRC #4939 (All spark 9)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Brampton
Posts: 52
Team 4939 is an unknown quantity at this point
Re: Pneumatics system code

Quote:
Originally Posted by Domenic Rodriguez View Post
Out of curiosity, have you tried hooking up your compressor yet? If the relay for your compressor is also not working, you may have an issue with your Digital Sidecar.
We don't have our compressor connected to a relay, we just manually turn it on and off. Also all our other motors and such work through the digital sidecar, so I assume the sidecar still works.
  #38   Spotlight this post!  
Unread 24-06-2014, 13:24
Team 4939 Team 4939 is offline
Registered User
AKA: Anshul Shah
FRC #4939 (All spark 9)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Brampton
Posts: 52
Team 4939 is an unknown quantity at this point
Re: Pneumatics system code

Quote:
Originally Posted by adciv View Post
Is that side car picture with or without your code in Teleop?

The picture is with the robot on and the code loaded, but not with teleop activated.

We could turn on teleop and take another picture if you would like.
  #39   Spotlight this post!  
Unread 24-06-2014, 13:30
Aren Siekmeier's Avatar
Aren Siekmeier Aren Siekmeier is offline
on walkabout
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: 대한민국
Posts: 735
Aren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond repute
Re: Pneumatics system code

Quote:
Originally Posted by Team 4939 View Post
The picture is with the robot on and the code loaded, but not with teleop activated.

We could turn on teleop and take another picture if you would like.
Yes, we would.

All relay outputs (and all other outputs, for that matter) are disabled when the robot is not enabled from the driver station. All of these tests of whether the spike and solenoids are receiving a non-neutral signal won't do any good unless the driver station has enabled Teleop mode.

Last edited by Aren Siekmeier : 24-06-2014 at 13:35.
  #40   Spotlight this post!  
Unread 24-06-2014, 13:36
Team 4939 Team 4939 is offline
Registered User
AKA: Anshul Shah
FRC #4939 (All spark 9)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Brampton
Posts: 52
Team 4939 is an unknown quantity at this point
Re: Pneumatics system code

Quote:
Originally Posted by compwiztobe View Post
Yes, we would.

All relay outputs (and all other outputs, for that matter) are disabled when the robot is not enabled from the driver station. All of these tests of whether the spike is receiving a non-neutral signal won't do any good unless the driver station has enabled Teleop mode.
Here is a picture with the teleop mode activated:

http://postimg.org/image/nltuevm3n/
  #41   Spotlight this post!  
Unread 24-06-2014, 13:46
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Pneumatics system code

The image isn't loading for me. Can you confirm the link is working for you?
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
  #42   Spotlight this post!  
Unread 24-06-2014, 13:49
Team 4939 Team 4939 is offline
Registered User
AKA: Anshul Shah
FRC #4939 (All spark 9)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Brampton
Posts: 52
Team 4939 is an unknown quantity at this point
Re: Pneumatics system code

Quote:
Originally Posted by adciv View Post
The image isn't loading for me. Can you confirm the link is working for you?

It was working for me, but I tried using a different website. Here is the new link:

http://s13.postimg.org/xvw9e4bzb/photo2.jpg
  #43   Spotlight this post!  
Unread 24-06-2014, 14:02
Aren Siekmeier's Avatar
Aren Siekmeier Aren Siekmeier is offline
on walkabout
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: 대한민국
Posts: 735
Aren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond repute
Re: Pneumatics system code

I'll run down the whole chain here to try to locate the issue. If any these fails, don't go any further, you'll need to fix that problem before moving on.

1. Are other outputs working? For example, can you drive with Teleop enabled. If so, keep the robot in this mode (Teleop Enabled) for all other tests. In any disabled mode, all outputs are disabled. Additionally, your code only runs in Teleop Enabled.

2. What is the latest code you have compiled and deployed? This code should be declaring a Relay object on port 7, and then in OperatorControl() it should set the value to something other than kOff (kReverse or kForward).

3. If the above is true, do the LEDs on the Relay bumper show anything, while in Teleop Enabled? According to the link given previously, a relay output's LEDs will be red for reverse, green for forward, off for off.

4. Now with the relay output working properly, make sure the Spike is wired correctly to the relay output and to the PD board. Does the Spike's LED match the Digital Sidecar's relay LED (again, in Teleop Enabled)?

5. Are the solenoid wires connected appropriately to the Spike? If so, does one of the solenoids light up (again, in Teleop Enabled)?

6. ... there will be more but let's get through those first
  #44   Spotlight this post!  
Unread 24-06-2014, 14:08
Team 4939 Team 4939 is offline
Registered User
AKA: Anshul Shah
FRC #4939 (All spark 9)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Brampton
Posts: 52
Team 4939 is an unknown quantity at this point
Re: Pneumatics system code

Quote:
Originally Posted by compwiztobe View Post
I'll run down the whole chain here to try to locate the issue. If any these fails, don't go any further, you'll need to fix that problem before moving on.

1. Are other outputs working? For example, can you drive with Teleop enabled. If so, keep the robot in this mode (Teleop Enabled) for all other tests. In any disabled mode, all outputs are disabled. Additionally, your code only runs in Teleop Enabled.

2. What is the latest code you have compiled and deployed? This code should be declaring a Relay object on port 7, and then in OperatorControl() it should set the value to something other than kOff (kReverse or kForward).

3. If the above is true, do the LEDs on the Relay bumper show anything, while in Teleop Enabled? According to the link given previously, a relay output's LEDs will be red for reverse, green for forward, off for off.

4. Now with the relay output working properly, make sure the Spike is wired correctly to the relay output and to the PD board. Does the Spike's LED match the Digital Sidecar's relay LED (again, in Teleop Enabled)?

5. Are the solenoid wires connected appropriately to the Spike? If so, does one of the solenoids light up (again, in Teleop Enabled)?

6. ... there will be more but let's get through those first
The lights on the sidecar bumper are off but, the light on the spike is orange. My peers say they have never seen these lights go on before. The steps before step 3 are true.
  #45   Spotlight this post!  
Unread 24-06-2014, 14:15
Aren Siekmeier's Avatar
Aren Siekmeier Aren Siekmeier is offline
on walkabout
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: 대한민국
Posts: 735
Aren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond repute
Re: Pneumatics system code

Quote:
Originally Posted by Team 4939 View Post
The lights on the sidecar bumper are off but, the light on the spike is orange. My peers say they have never seen these lights go on before. The steps before step 3 are true.
They likely haven't seen them go on because you have never commanded a relay output before. The Relay output lights indicate the current output value.

Another thing to check: Are there any errors appearing on the diagnostics tab of the driver station? You can click Clear Errors to see if any new ones are being reported at the moment. Do this in Teleop Enabled as well. It might be that one of your safety loops is timing out, locking up your outputs. However, you report the other outputs working, so I'm not sure how this could be...

Do you have a multimeter on hand? It might also be worthwhile to unplug the cable from the spike and probe its ends, to see if the digital sidecar is sending an output despite its LED state.
Closed Thread


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 22:42.

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