|
Re: Programming the Air Compressor and Pressure Switch
The Spikes orange status light only tells us that the Spike is receiving 12v power.
The Spike status light isn't like the motor controller statuses where they indicate a loss of communication by blinking.
The Relay status on the Digital Sidecar will tell you if the code is ordering the compressor on or not.
The robot does have to be Enabled by the Driver Station for the compressor to be allowed to start.
Sorry, the examples I pointed you to were for LabVIEW.
There aren't any pre-made out-of-the-box Java test programs.
(We should write and publish some of those for the more basic function tests.)
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 05-02-2013 at 18:33.
|