View Single Post
  #7   Spotlight this post!  
Unread 13-01-2015, 10:22
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,355
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Cypress Enhanced IO

Quote:
Originally Posted by ayeckley View Post
I don't have access to an FRC-flavored-LabVIEW-installed PC at the moment, so I can't answer the question for myself: With the loss Enhanced I/O has quadrature encoder input to the DS been completely lost also? If so, that is a massive step backwards from my perspective. Especially in a game in which it might be useful to orient the robot via a large, multi-turn knob, for example.

Unless the performance of the DS-to-roboRio protocol has increased significantly relative to previous years, interpreting quadrature via DIO inputs (Cypress or otherwise) is not a viable option. I'm happy to be proven wrong by anybody that has successfully pulled it off. Use of a multiturn pot and analog input has some significant disadvantages in comparison (apparent to those of use that have used that approach in the past), but at this point it may represent the least-bad alternative [shudder].
Quote:
Originally Posted by Mark McLeod View Post
The limitation is really in the custom hardware before the laptop, e.g., Cypress, Launchpad, etc. for processing the A/B transitions.

Why not use an Arduino or similar to handle your quad inputs and send the results to the laptop via USB?
You can write your own Dashboard code to take the input and optionally do additional processing or just send the results to the robot.

It requires more work, but it should be possible to implement your own interface to the old Cypress board if you desire.
An excellent example of this is available with the Teensy 3.1.

It can act as a HID device. In the code running on it, it is simple to add an encoder, or encoders, read and process function(s). You then just return the processed value as an "axis" value. The resolution of that value will depend on your processing algorithm.
It can also be set up as just a straight joystick with up to 32 buttons, although 16 is a more practice limit, 6 Axis and one Hat.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote