View Single Post
  #8   Spotlight this post!  
Unread 10-02-2017, 18:15
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,948
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: So apparently flat sequence structures don't work well in Teleop.

The feedback node in that use prevents the sequence from running again immediately if the driver continues to hold down the button.
The button must be released and pressed again after the sequence ends to get the sequence to run a second (or nth) time.

It's particularly useful with short sequences or forgetful drivers.

You can add in a Disabled check as well to prevent the sequence from being pre-triggered.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote