|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
||||
|
||||
|
Re: Emulating a Joystick
If you're using Windows XP, go into the Control Panel and select Game Controllers (under Printers and Other Hardware if you have category view selected). It will show a list of any joysticks or gamepads, and if you click on one and click Properties it will show you the axes and buttons and their states in real time.
|
|
#17
|
|||
|
|||
|
Re: Emulating a Joystick
Quote:
|
|
#18
|
|||
|
|||
|
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. |
|
#19
|
|||
|
|||
|
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. |
|
#20
|
|||
|
|||
|
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. |
|
#21
|
||||
|
||||
|
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.
|
|
#22
|
|||
|
|||
|
Re: Emulating a Joystick
The problem here is that the First Touch Kit 3 board does not have the USB connector wired to the PSoC, so you can't use the USB IP that is in the PSoC. The USB connector just goes to a SWD interface chip for debugging and programming the PSoC. The board was not designed to expose USB to the application on the PSoC. We basically had to go way outside the scope of the design to make it work for FIRST's requirements.
|
|
#23
|
|||
|
|||
|
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).
|
|
#24
|
|||
|
|||
|
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 |
|
#25
|
|||
|
|||
|
Re: Emulating a Joystick
Quote:
|
|
#26
|
|||
|
|||
|
Re: Emulating a Joystick
Quote:
|
|
#27
|
|||
|
|||
|
Re: Emulating a Joystick
Quote:
|
|
#28
|
|||
|
|||
|
Re: Emulating a Joystick
Quote:
|
![]() |
| 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 |