Go to Post God Bless the referees. - MooreteP [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
  #15   Spotlight this post!  
Unread 17-03-2010, 15:09
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,083
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: encoder for cam-driven kicker?

Quote:
Originally Posted by Chris Hibner View Post
The data type is double, at least in LabVIEW.
Yeah, but I doubt that the counter in the FPGA is floating-point.

I want to know if the FPGA counter will not overflow during a match.

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

Code:
if (encoderDeg > 360)
 {
   encoderDeg -= 360;
}

Does the above code actually write a new value to the FPGA counter itself? Or just zero the associated RAM variable in cRIO?


~
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 23:43.

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