Go to Post A robot with hands would be cool! - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
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
  #14   Spotlight this post!  
Unread 17-03-2010, 14:24
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: encoder for cam-driven kicker?

Quote:
Originally Posted by Ether View Post
What is the data type of the encoder counter in the FPGA? Is it large enough to just let it run free without overflowing during a match ?


~
The data type is double, at least in LabVIEW.

You can always convert the encoder output into degrees and do:

Code:
if (encoderDeg > 360)
 {
   encoderDeg -= 360;
}
or the LabVIEW equivalent so you don't have to worry about overflow. Then you can always stop the motor at the same angle.
__________________
-
An ounce of perception is worth a pound of obscure.
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
pic: 2252 kicker cam EIT2 Extra Discussion 1 16-02-2010 07:51
pic: Winch for Kicker MrForbes Extra Discussion 10 10-02-2010 10:42
pic: KICKER FOR 1322 joeweber Extra Discussion 12 26-01-2010 16:45
Event Driven Development for FRC-Java spartango Java 5 05-01-2010 11:52
Looking for miniDV cam MattK Chit-Chat 3 31-01-2006 20:32


All times are GMT -5. The time now is 17:40.

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