Go to Post That little 18 amp-hour battery has a really hard life in a FIRST robot. - eugenebrooks [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 28-03-2008, 15:21
beefy23 beefy23 is offline
Registered User
no team
 
Join Date: Mar 2008
Location: Israel
Posts: 9
beefy23 is an unknown quantity at this point
Re: Question about Gear Sensor

Quote:
Originally Posted by JamesBrown View Post
Quadrature encoders are similar in purpose to gear tooth sensors but are different in functionality. A quadrature encoder has an additional channel that indicates the direction the encoder is being turned.

In Kevin Watson's FRC code the functions like Get_Encoder_1_Count() return the net number of pulses sent by the encoder plugged into the port as declared in the encoder.h file. The numbers are used to distinguish between encoders, I believe Kevin's code allows for 6 to be used at a time.

The value returned by Get_Encoder_1_Count() can be converted into distance traveled since the encoder was last reset by multiplying the value by the ratio of encoder turns to wheel turns then by multiplying by the wheel circumference.
And how do you know which analog input to receive the information?
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gear Tooth Sensor Question Semicolon Electrical 7 19-01-2008 22:54
Question about the IR sensor DemonYawgmoth Electrical 4 08-01-2008 22:26
Question about Gear-tooth? Nicodemus Control System 4 21-01-2007 02:19
Quick question regarding the gear tooth sensor... Brad Voracek Electrical 3 12-01-2007 01:07
Gear Tooth Sensor Question (InsrtNameHere) Electrical 2 20-01-2006 02:19


All times are GMT -5. The time now is 20:26.

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