Thread: Code Check
View Single Post
  #1   Spotlight this post!  
Unread 13-02-2011, 23:09
thE_iyE's Avatar
thE_iyE thE_iyE is offline
Registered User
FRC #3225 (Wolverine Robotics)
Team Role: Student
 
Join Date: Feb 2011
Rookie Year: 2010
Location: UT
Posts: 7
thE_iyE is an unknown quantity at this point
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.
Attached Files
File Type: vi Begin.vi (38.9 KB, 15 views)
File Type: vi Disabled.vi (19.1 KB, 4 views)
File Type: vi Periodic Tasks.vi (17.0 KB, 5 views)
File Type: vi Teleop.vi (28.0 KB, 13 views)
File Type: vi Finish.vi (23.1 KB, 3 views)
Reply With Quote