|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Cypress Enhanced IO
Is Cypress Enhanced I/O no longer supported? We received the new board in the kit, but I would really like to use the old one due to familiarity, besides we already have a set-up for it.
I cannot find the palette for the enhanced I/O in the WPI library. Is it still there? If it is where could I find it? I did have a minor issue while installing the updates and utilities, this could be the problem. Thanks in advance for any help. |
|
#2
|
||||
|
||||
|
Re: Cypress Enhanced IO
Yes, support for the cypress board was removed from the driver station.
See DS IO, Enhanced IO, and Kinect: http://wpilib.screenstepslive.com/s/...e-2014-to-2015 |
|
#3
|
||||
|
||||
|
Re: Cypress Enhanced IO
Yeah I just found it...
http://wpilib.screenstepslive.com/s/...e-2014-to-2015manner? I am assuming I can use the SDReadValue.vi to accomplish this stuff in a similar manner? Last edited by Skyehawk : 07-01-2015 at 10:20. |
|
#4
|
|||
|
|||
|
Re: Cypress Enhanced IO
The direct DS I/O is now based on USB HID standard. This allows for a larger number of devices to be supported and even allows for teams to make their own provided the device can be programmed to enumerate as an HID device.
This is different than what we did previously, and some features are no longer supported. We are eager to hear feedback and willing to answer questions. Greg McKaskle |
|
#5
|
||||
|
||||
|
Re: Cypress Enhanced IO
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]. |
|
#6
|
|||||
|
|||||
|
Re: Cypress Enhanced IO
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. Last edited by Mark McLeod : 13-01-2015 at 09:59. |
|
#7
|
||||
|
||||
|
Re: Cypress Enhanced IO
Quote:
Quote:
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. |
|
#8
|
||||
|
||||
|
Re: Cypress Enhanced IO
Quote:
Quote:
|
|
#9
|
||||||
|
||||||
|
Re: Cypress Enhanced IO
Can you expand on those disadvantages?
|
|
#10
|
|||||
|
|||||
|
Re: Cypress Enhanced IO
Quote:
Quote:
|
|
#11
|
||||
|
||||
|
Re: Cypress Enhanced IO
The most painful one in my memory is dealing (in software) with the rollover of the pot at low rotational speeds. Rather than a nice transition from, say 0V to 5V (corresponding to an ideal sawtooth waveform), in practice the signal becomes pretty indeterminate during the transition -- even with high quality, full-360-degree-wiper pots. At "high" rotational speeds only one or two samples might land during this time, but at low speeds the number of samples taken in this nebulous state kills the effectiveness of the various forms of software filtering and other algorithms we tried. This was back in 2008, but it's not an issue that would be specific to any particular FRC control system. Our lesson-learned was to use encoders (of various flavors and forms) in applications where this could potentially be a problem.
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|