Go to Post The thought of destroying any robot is just......depressing :( - Richard McClellan [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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
  #4   Spotlight this post!  
Unread 23-11-2008, 12:18
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,182
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Encoders and distance (labview)

The formula you are looking for is this

Code:
distance = (ticks) * (Gear Ratio) * (wheel diameter * pi)/(ticks per rev * scale)
Where Gear ratio is amount of times the wheel spins per amount of times the encoder spins, and scale is 4 (per what Kevin said above).

As I last saw them, the WPI Robotics Library encoder VI's had provisioning for real world unit distance feedback. The VI's had setters and getters for the gear ratio and distance travelled, respectively.

Last edited by Tom Bottiglieri : 23-11-2008 at 12:21.
Reply With Quote
 


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
Labview 8.5 and encoders MorbidAngel NI LabVIEW 1 15-11-2008 13:57
Help with Angles and distance charlie1218 Programming 5 13-12-2007 18:54
How do I get distance between Camera and the target? sjung9442 Programming 5 27-01-2006 09:44
EEPROM and Encoders Bharat Nain Electrical 7 01-12-2005 10:06
Testing and Cause of Failure for Encoders and Hall Effect sensors ChrisH Electrical 28 19-09-2005 01:07


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

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