Go to Post My father taught me long ago that how we respond to adversity is what defines us as human beings. Let's all keep this definition in mind as we move forward to change a culture. - Rich Kressly [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
  #9   Spotlight this post!  
Unread 13-01-2015, 11:54
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Cypress Enhanced IO

Quote:
Originally Posted by ayeckley View Post
I guess my frustration is over the loss of a feature that we weren't expecting to lose. Was it common knowledge?
The loss of support for the Cypress I/O was mentioned in pretty much every presentation I saw from Beta Test teams.

Quote:
...I think we'd need to use an interrupt-driven input for an encoder application. Our tick rates will be on the order of 10-100 Hz. We'd also want to represent the tick count in an equivalent way to the Enhanced I/O processed it (signed 32-bit integer, IIRC). Time to start reading, I guess...
I believe a Teensy's (or Arduino's) main loop would be plenty fast enough to read a quadrature-encoded knob. You can easily represent its count as a joystick axis with 16 bits of precision, and while I doubt you'd need more than that for a few minutes of a competition match, it isn't hard at all to handle over/underflow on the robot and track its rotations indefinitely.
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


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

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