View Single Post
  #9   Spotlight this post!  
Unread 17-01-2014, 16:53
joecloud joecloud is offline
Registered User
FRC #2805
Team Role: Programmer
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Texas
Posts: 22
joecloud is an unknown quantity at this point
Re: Teleop move motor forward and backwards timed

I'll look into the Y-cable, we may or may not already have one.
Here is the code after the suggested modifications.
If I understand this correctly, because the code was originally in teleop it would have kept auto repeating whatever was in the loop forever?

Click image for larger version

Name:	periodictasks.PNG
Views:	26
Size:	74.6 KB
ID:	15855

This is the updated code in Periodic tasks, are there any global variables etc.. of the sort that I need to setup for it to function right? Or does periodic tasks work seamlessly in teleop mode (haven't done much periodic tasks code)


Thanks,
__________________
--
Joe,
Programming: Team #2805
Reply With Quote