|
Re: need help with motors
One way is to use the Feed and Delay VI. This should work pretty well if used in autonomous, or even in independent loops. It will not work well in teleop or in other loops meant to loop quickly. For those, you want to start the motor and note the time. Use a shift register or a feedback wire to compare the time each iteration to the start time and stop when enough time has elapsed. What you are building is a tiny state machine, and you can of course go further with it to include other states and other transitions.
Greg McKaskle
|