|
Code Check
This is my fourth day in Labview (our Java coder decided to quit the team) so I'm just checking to see if my code looks good.
To explain a little about the bot, it runs 4 CIMs on drive, tank style with Jaguars. The bicep is controlled by two window motors that work in unison on jaguars, and the forearm is controlled by the fisher-price (so its scaled) on a vector. The minibot is deployed by the cylinder, so I'd actually like to make it so the compressor turns off for good once it comes up to pressure and I don't know how to do that. We have red and blue rope-light connected to their respective relays that turn red or blue depending upon our assignment. Do I need to turn the lights on both in autonomous and teleop?
Do we need to put our fans on a relay? The safety inspectors jumped down our throats last year when we tried to explain that we didn't need a relay on the fans, and we showed him the rules, but he didn't believe us, so we threw them on a relay.
I'm also concerned about the safety VIs, I don't know how to use them, or even if I need to use them. I'm also clueless when in comes to the error-in and error-out functions.
|