Go to Post The kick-off is your opportunity to finally open the REALLY BIG box that has been sitting under the tree. - dlavery [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 02-04-2014, 19:59
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Labview disabled compressor runs *AT REGIONAL IN MATCH 1 TOMMOROW*

Quote:
Originally Posted by NotInControl View Post
Also this is dependant upon where you start your compressor code from. If you start the compressor call in robot init, it has the potential to run during disabled.
This is not exactly true.

All of the outputs (PWM and Relay) are disabled in hardware when the robot is disabled. Even if you try to set them (there's no harm in setting them continuously while disabled), they will not be set because of the disable circuit.

However, there are some cases where the buffers for the relay outputs can fail in such a way that they ignore the disable circuit but otherwise work fine.

Running code while disabled can also help with troubleshooting code, as you can look at what it is trying to do without letting it do it.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #17   Spotlight this post!  
Unread 02-04-2014, 20:07
wilsonmw04's Avatar
wilsonmw04 wilsonmw04 is offline
Coach
FRC #1086 (Blue Cheese)
Team Role: Teacher
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Midlothian, VA
Posts: 1,888
wilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond repute
Re: Labview disabled compressor runs *AT REGIONAL IN MATCH 1 TOMMOROW*

I've seen this problem on and off for several years. For us, it was never consistent. Maybe once every 50-100 cycles the compressor would kick on as soon at the robot was turned on. All we would have to do is cycle the robot again and it would function as intended. I have seen this happen at least on time in the past 5 seasons. Is your situation repeatable?
__________________
Currently: Coach FRC 1086/FTC 93
2006-2011 Coach FRC 2106/FTC 35
If you come to a FRC event to see a robot competition, you are missing the point.
  #18   Spotlight this post!  
Unread 02-04-2014, 20:18
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,384
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Labview disabled compressor runs *AT REGIONAL IN MATCH 1 TOMMOROW*

While inspecting at the Sacramento regional, I came across a team that had this issue, or one similar to it.

Their compressor would run whenever the robot was powered on. They said "It has always done that.", which unnerved me a bit.

Long story short, they had the Spike relay for the compressor plugged into a PWM port with the jumper in place for use with a servo.
The jumper provided +6vdc to the center wire, thus telling the Spike to go into forward at all times.

So, check the wiring.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #19   Spotlight this post!  
Unread 02-04-2014, 22:09
Arpan Arpan is offline
Olin class of 2019
FRC #3061 (Huskie Robotics)
Team Role: Alumni
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Naperville
Posts: 169
Arpan has much to be proud ofArpan has much to be proud ofArpan has much to be proud ofArpan has much to be proud ofArpan has much to be proud ofArpan has much to be proud ofArpan has much to be proud ofArpan has much to be proud ofArpan has much to be proud of
Re: Labview disabled compressor runs *AT REGIONAL IN MATCH 1 TOMMOROW*

Quote:
Originally Posted by apalrd View Post


However, there are some cases where the buffers for the relay outputs can fail in such a way that they ignore the disable circuit but otherwise work fine.
.
This is what we think happened.
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 02:46.

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