Thread: Autonomous Mode
View Single Post
  #7   Spotlight this post!  
Unread 15-01-2015, 06:59
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Autonomous Mode

Good advice already. I'll add just one thing.

If the code will execute quickly. If it is reading sensors and comparing to some limit, for example, you can also make that code into a subVI and call the subVI from auto, tele, and periodic too if that makes sense.

If the code will wait for a mechanism to move, or time a mechanism's movement, you do not want to put it into teleOp, or it will prevent the next joystick inputs from being read on time.

Greg McKaskle
Reply With Quote