Go to Post I don't really have a problem with school, as long as it doesn't get in the way of learning. - lukevanoort [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-11-2014, 12:53
jfitz0807 jfitz0807 is offline
Registered User
FRC #2877 (Ligerbots)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Newton, MA
Posts: 67
jfitz0807 is an unknown quantity at this point
Re: VEXPro 3-CIM Ball Shifter encoder?

We are almost done building our practice chassis and we have included encoders for the first time. We ordered the Grayhill 63R series 256 encoders.

The 4 sample averaging is a great suggestion that we will implement. I presume this is just reading the encoder in teleopPeriodic() and keeping a running average of the last n samples.

Can you elaborate on the 1x decoding or 4x decoding?
  #2   Spotlight this post!  
Unread 14-11-2014, 13:44
Aren Siekmeier's Avatar
Aren Siekmeier Aren Siekmeier is offline
on walkabout
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: 대한민국
Posts: 735
Aren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond reputeAren Siekmeier has a reputation beyond repute
Re: VEXPro 3-CIM Ball Shifter encoder?

Quote:
Originally Posted by jfitz0807 View Post
We are almost done building our practice chassis and we have included encoders for the first time. We ordered the Grayhill 63R series 256 encoders.

The 4 sample averaging is a great suggestion that we will implement. I presume this is just reading the encoder in teleopPeriodic() and keeping a running average of the last n samples.

Can you elaborate on the 1x decoding or 4x decoding?
All of the decoding happens in hardware in the FPGA, including the rolling sample average. All you need to do is configure the encoder object in your code to use 1x decoding or 4x decoding with 4 sample averaging as Joe suggests.

In Labview, this happens in Begin.vi when you call the Encoder Open block. In C++ or Java, these are either parameters for the Encoder object constructor method, or have corresponding set methods to be called after instantiation.
  #3   Spotlight this post!  
Unread 24-11-2014, 22:25
Chief Hedgehog's Avatar
Chief Hedgehog Chief Hedgehog is offline
Mentor
FRC #4607 (C.I.S.)
Team Role: Coach
 
Join Date: May 2013
Rookie Year: 2012
Location: Becker, Minnesota
Posts: 544
Chief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond repute
Re: VEXPro 3-CIM Ball Shifter encoder?

We are trying to source the wire and connector for the Grayhill 63r encoder (5pins) and the best/most appropriate way to connect this.

Anyone have an answer?
__________________

"An error does not become a mistake until you refuse to correct it" ~JFK
  #4   Spotlight this post!  
Unread 28-11-2014, 15:28
Gary Suter Gary Suter is offline
Registered User
FRC #2439
 
Join Date: Mar 2012
Location: Maui
Posts: 16
Gary Suter is an unknown quantity at this point
Re: VEXPro 3-CIM Ball Shifter encoder?

Are the encoders in stock now?
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:05.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi