|
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.
|