View Single Post
  #2   Spotlight this post!  
Unread 17-02-2015, 12:16
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: Left and Right Drive Motors Teleop Disabled error

It sounds like you added a While loop inside Teleop.

Did you perhaps copy one of the motor examples a little too closely? Read Tutorial 7—Integrating Examples into Robot Code. Briefly, the part of the example that you should put in Teleop is what is inside the loop, not the loop itself. The part to the left of the loop goes in Begin, and the part to the right goes in Finish.
Reply With Quote