View Single Post
  #2   Spotlight this post!  
Unread 09-02-2013, 11:23
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: Robot "twitching?"

FIRE is inappropriate for use in Teleop because of the delays embedded inside.
This code that calls it should be moved to a loop in Periodic Tasks.vi where such things belong.

The reason you're seeing the behavior that you are, is because you are losing control when Teleop essentially freezes up while processing your FIRE sequence. The last commands sent to Tank Drive will stick until the FIRE sequence completes.
Susequent joystick movements (like going to neutral) won't be processed by Teleop until the FIRE sequence is finished 3+ seconds later.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 09-02-2013 at 11:25.
Reply With Quote