View Single Post
  #4   Spotlight this post!  
Unread 20-02-2011, 10:39
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: Keeping track of Encoder Shaft Location using WPI Counter VI

If you are only passing through a single value a Feedback Node may be more intuitive than a loop and shift register.

If you connect the output of the Get to a Feedback node and then subtract the current output of the Get from the fed back value, you will get the proper delta value.

If you want to keep the loop you want the output of the Get connected to the right side shift register in addition to its current connections. This will make the initial subtraction produce the correct delta value.
__________________


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