View Single Post
  #2   Spotlight this post!  
Unread 28-02-2011, 11:50
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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: Button conundrum

Shouldn't the bottom right Motor output be Motor C instead of Motor B?

The other issue is you appear to have lots of potential race conditions, because you set the same motor in multiple places.
Typically, you should have only one Motor Set Output for each motor and the Case statements just decide on the final value being sent to the motors.

Yiou need to enforce a precedence.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 28-02-2011 at 11:54.
Reply With Quote