View Single Post
  #2   Spotlight this post!  
Unread 21-03-2011, 10:00
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: old robot kicker question

A flat sequence is okay, but it goes in Periodic Tasks, not Teleop.

Teleop needs to remain streamlined, quick and simple, to keep up the 50Hz loop rate.
I wouldn't recommend putting much more than the basic drive train in there, unless it's direct joystick control of something.

Periodic Tasks is made for timed, sensor triggered, and sequenced events.
Tasks within it are also shared with both Autonomous and Teleop, although I imagine Auto isn't of much concern to you with an old robot.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 21-03-2011 at 10:07.
Reply With Quote