|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Emulating a Joystick
Is the source for FIRST's default implementation of the Cypress PSoC board available anywhere? Is it against the rules to modify the default firmware on that board?
There is no reason you can't set up a simple system that uses an I2C controller and HID comms on the PSoC board. If we are not able to get our hands on the default firmware, you can check out this article for a start: http://www.cypress.com/?rID=39404 |
|
#2
|
|||
|
|||
|
Re: Emulating a Joystick
Quote:
Another question... Is there an application or something that I can use to see the output of a usb joystick? I need something for testing, and I don't have any way of telling what the joystick is actually outputting. Last edited by Geek 2.0 : 21-01-2010 at 13:47. |
|
#3
|
|||
|
|||
|
Re: Emulating a Joystick
Quote:
Also, R60N seems kind of silly. According to the rules, I can buy or build any HID compliant USB device to hook up to the driver's station, but I cannot use the FirstTouch (which is most likely a safer/easier avenue than building any custom electronics). Why the draconian restriction? |
|
#4
|
|||
|
|||
|
Re: Emulating a Joystick
Quote:
|
|
#5
|
|||
|
|||
|
Re: Emulating a Joystick
Quote:
On another note... Anyone know why WPILib doesn't have sliders for HID devices? Last edited by Geek 2.0 : 21-01-2010 at 16:51. |
|
#6
|
|||
|
|||
|
Re: Emulating a Joystick
Quote:
Not sure what you're talking about here. Can you be more specific or elaborate? Are you using WPILib in LabVIEW, I guess? There is no HID on the robot, so are you talking about the dashboard? Please be more detailed. |
|
#7
|
|||
|
|||
|
Re: Emulating a Joystick
USB HID supports analog values that are not one of the 6 axes (called Sliders), meaning you can send more than 6 analog values. The WPILib does not check joysticks for these. I would assume it's to keep the packet size from getting too large, but I'm not sure. I was hoping to use USB because I originally thought it wouldn't limit the amount of data we can send, but apparently it still does (6 analogs and 12 digitals).
|
|
#8
|
|||
|
|||
|
Re: Emulating a Joystick
Not to discourage your interfacing project here, but the enhanced I/O API for the cypress is packed with goodies. I saw a video of a team just a few days ago who made their own Wii-mote from the cypress board and were tilt driving.
Out of curiosity, what is it that you want to connect that requires this amount of interfacing? Greg McKaskle |
|
#9
|
|||
|
|||
|
Re: Emulating a Joystick
Quote:
|
|
#10
|
|||
|
|||
|
Re: Emulating a Joystick
Quote:
|
|
#11
|
|||
|
|||
|
Re: Emulating a Joystick
Quote:
|
|
#12
|
|||
|
|||
|
Re: Emulating a Joystick
Quote:
|
|
#13
|
|||
|
|||
|
Re: Emulating a Joystick
You must talk HID to the Classmate. Downstream of that you can do whatever you want. As Joe said, if you want to use the FirstTouch board (which you cannot, according to the rules) you would have to box up all of your data into the fields that already exist.
Last edited by Tom Bottiglieri : 22-01-2010 at 12:08. |
|
#14
|
||||||
|
||||||
|
Re: Emulating a Joystick
LabVIEW makes that very easy if you have HID working. Otherwise, you need something like what Tom linked.
|
|
#15
|
||||
|
||||
|
Re: Emulating a Joystick
For my senior design project 2 years ago we used one of the Cypress PSoC boards to communication via USB. It was reasonably easy to setup once you figured out how their design workflow was laid out.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 1 joystick or 2? | ChrisMcK2186 | Control System | 18 | 19-01-2007 23:42 |
| joystick ? | _GP_ | General Forum | 1 | 26-02-2004 23:10 |
| Joystick | rmmlg | Inventor | 0 | 15-02-2004 16:34 |
| No Joystick | archiver | 2001 | 2 | 24-06-2002 01:14 |
| Joystick | Absolute Value | Technical Discussion | 21 | 22-02-2002 10:56 |