Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Labview disabled compressor runs *AT REGIONAL IN MATCH 1 TOMMOROW* (http://www.chiefdelphi.com/forums/showthread.php?t=127576)

apalrd 02-04-2014 19:59

Re: Labview disabled compressor runs *AT REGIONAL IN MATCH 1 TOMMOROW*
 
Quote:

Originally Posted by NotInControl (Post 1368592)
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.

wilsonmw04 02-04-2014 20:07

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?

billbo911 02-04-2014 20:18

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.:o

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.

Arpan 02-04-2014 22:09

Re: Labview disabled compressor runs *AT REGIONAL IN MATCH 1 TOMMOROW*
 
Quote:

Originally Posted by apalrd (Post 1368594)


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.


All times are GMT -5. The time now is 22:04.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi