|
Re: Movement in Autonomous using Timing
In blocks 1 & 2 the elapsed time is outside of the loop, so it will only calculate once in the beginning.
In block 3 the safety VIs kick in and tell the motors to stop because you're not updating their state often enough.
Try a for loop with a wait of 20ms inside that executes 100 times.
__________________
Team 2590 Student [2011-2014]
Team 5684 Mentor [2015]
Team 5895 Mentor [2016-]
Last edited by AGPapa : 12-08-2013 at 12:15.
|