View Single Post
  #9   Spotlight this post!  
Unread 10-03-2015, 22:38
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Glitchy motor behavior, requires double code upload to fix

Quote:
Originally Posted by sanelss View Post
I have found a solution to the issue. If you get the motor ref and set a value every loop iteration it will work. Previously I was getting the motor ref before the while loop(in periodic task) and tried using tunnels/shift registers. Doing it this way though caused said glitches. By getting the motor ref and setting a value every loop iteration things seem to work
It almost sounds like Periodic Tasks is starting before Begin is finished. Does your Robot Main still have the error wire connecting the two VIs?
Reply With Quote