View Single Post
  #2   Spotlight this post!  
Unread 12-02-2010, 14:29
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Deadzone(ish) Problem

I don't understand how the numbers you gave relate to joysticks, but no matter.


If you want to take an input value and test to see whether it is between two other values, use the In Range and Coerce function.

If you want to take a value and force it to a constant only when some condition is true, a common way is to use a case block. In the "false" case, wire the value straight through the block from input to output. In the "true" case, place a constant and wire it to the output of the block, leaving the input unattached.

That should give you enough information to get started.
Reply With Quote