View Single Post
  #10   Spotlight this post!  
Unread 17-01-2014, 18:18
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Teleop move motor forward and backwards timed

Looks good.
The last 500 ms Timer isn't necessary. There's nothing to wait for by that point. It'll just prevent the button from working again right away.

Periodic Tasks runs all the time. While Teleop is running, while Disabled even (but the motor outputs are what get disabled, so you won't see any motor move).

Don't try to use cimtest anywhere else now, since it's always going to be in use waiting for that button press.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 17-01-2014 at 18:21.
Reply With Quote