View Single Post
  #2   Spotlight this post!  
Unread 12-08-2013, 12:03
AGPapa's Avatar
AGPapa AGPapa is offline
Registered User
AKA: Antonio Papa
FRC #5895
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Robbinsville, NJ
Posts: 323
AGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond repute
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.
Reply With Quote