View Single Post
  #2   Spotlight this post!  
Unread 01-02-2013, 21:54
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,112
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: Victors lose communications in Autonomous.

Your loop in Autonomous that creates the "X" variable is running unthrottled. It's possible that it's starving the other loops (and communication tasks) for CPU time.

You know that your code ensures the motors will only run for 1.5 seconds maximum, right?


(While using X and -X as the left and right inputs to Tank Drive works, you could instead use an Arcade Drive block and feed it a single X axis value to make the robot turn.)
Reply With Quote