View Single Post
  #2   Spotlight this post!  
Unread 17-03-2010, 21:55
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Re: LimitSwitches and Encoder Questions

A)dio is the condition for a case structure, if true, then it checks the value with a greater than 0 function,then inside with another case structure,if true, value carries through if not, set a constant 0
B)I dont know about the encoders but for autonomous you could use a set speed for example .4 to drive forward for the amount of time it takes to get to the first ball then kick then to the second and kick you can put this in a flat sequence for simplicity and to make sure the correct order is kept
C)if you are using a latching button there is an example provided with this years software it is found in C:\Program Files\National Instruments\LabVIEW 8.6\examples\FRC\Driver Station Inputs\Joystick Button Latching
__________________
Expect the best, Prepare for the worst

Last edited by bladetech932 : 17-03-2010 at 22:12.
Reply With Quote