View Single Post
  #4   Spotlight this post!  
Unread 21-02-2015, 12:39
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: Autonomous problem

No, you don't need the safety config calls for the motor or solenoid you are using.
That picture of mine is only a generic example.

Just add a Wait in the Autonomous code that you have there.
You can add a wait in the first frame if you want to give the solenoid more time to react before the motor starts, and another wait in the motor frame to tell it how long to run.
Without the Wait(s) the code will execute as fast as it possibly can.

Note: a wait is fine for Autonomous and in Periodic Tasks, but don't ever use them in teleop.vi
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 21-02-2015 at 12:43.
Reply With Quote