View Single Post
  #4   Spotlight this post!  
Unread 03-03-2012, 19:29
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Driving based on range?

Much better. I notice you put in a delay, where I forgot to. Good for you.

Your bottom logic where you turn Booleans into numbers and add them will work, but you may want to look into the Boolean logic palette. OR is equivalent to what you've written and is the more traditional way of doing this. Again, yours works, I'm just suggesting ways to make it more professional.

Now to test it.
Greg McKaskle
Reply With Quote