View Single Post
  #3   Spotlight this post!  
Unread 12-02-2010, 12:10
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Mecanum Help Needed

Quote:
Originally Posted by robot.lords View Post
What is this block? I can't find it in the palletes. (from your code, dana)
That block VI called In Range and Coerce and can be found in the Comparison palette. It takes in 2 values that set a range (in this case 1 and -1) and a third value to compare. The VI tests whether the value is i the range, then outputs a True/False of whether it was in the range or not (In Range) and a value forced into the range (Coerce).

What this means is that if you put something in larger than 1 you will get out 1, if you put something in between 1 and -1 it will pass through unchanged and if you put in something smaller than -1 you will get out -1.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote