|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
driving with an xbox360 controller
Hello there! My team, 3753, just got back from our regionals, so naturally some of us have lots of thoughts and questions about plans for next year! Our current programmer is a senior and I'm going to be replacing him next year as (probably) our team's only programmer (it's a pretty small team -- about 12 people total).
This was my first competition so I went around asking all the questions I could think of, and one thing I was told was that in order to use an xbox 360 controller, you have to install a separate driver. What exactly is the driver, where can I get it, does it cost anything, what would I need to do to set it up, etc? Is it a file I just download and put somewhere and we're good, or does it make things entirely different from joysticks and the ps2-like controllers? Can you use a regular wired x360 controller (and a wireless with the wired attachment thing) or do you have to buy a special one? P.S. If anyone has any advice on different types of controls (joysticks vs ps2-like controllers vs x360 vs who knows what else), that would also be greatly appreciated. Thanks! |
|
#2
|
||||
|
||||
|
Re: driving with an xbox360 controller
In labview controllers are treated just like joysticks and windows seems to auto install all the drivers you need when you plug in the controller. Just be aware that wireless controllers are not legal.
|
|
#3
|
||||
|
||||
|
Re: driving with an xbox360 controller
So I won't need to do anything? That's awesome
What if I program the robot in c++ instead of labview? Is the connection window I saw everyone using labview no matter what the robot's programmed in?I know wireless controllers are illegal, but is it legal to use a wireless controller attached wired with this? It treats it just like a wired controller and I could just use one of mine from home, but since we've never used controllers, we're unfamiliar with the rules. |
|
#4
|
|||
|
|||
|
Re: driving with an xbox360 controller
1675 started using Xbox controller this year. I just put an inital commit of our code on Github last night (WARNING: SUPER GROSS, NEEDS CLEANING AND REORGANIZING). Here's a link to our wrapper class for the controller. We use Java but it is essentially the same for C++.
https://github.com/pordonj/frc1675-2...ontroller.java Caveats:
Last edited by BigJ : 18-03-2012 at 14:05. Reason: cleaned up code a bit and realzied additional caveat |
|
#5
|
||||
|
||||
|
Re: driving with an xbox360 controller
Quote:
|
|
#6
|
||||
|
||||
|
Re: driving with an xbox360 controller
I do not know anything about the xbox drivers. I believe that the logitech game pad on the andymark site will work fine.
And as far as coding. I believe LabVIEW and C++ treat it just like a Joystick and KNOW Java does, have worked with other Joysticks from many brands on it. (occasional glitch with some types, but overall great performance) |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|