|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Programing linear strafing Xbox controller
Hey CD
Our team has a linear strafing drive this year, but we are having difficulty programing our Xbox controller's joysticks axis. So the left joystick works, both x and y, but our right joystick gives no feedback to the drivers station. Anyone else have a solution to this issue? Does the drivers station not show the right axis but it still works? |
|
#2
|
|||
|
|||
|
Re: Programing linear strafing Xbox controller
Make sure you reading out the correct axes of the controller. For an X-box controller Right x-axis should be axis 4 and right Y-axis should be axis 5. Hope this helps!
|
|
#3
|
|||||
|
|||||
|
Re: Programing linear strafing Xbox controller
Depends on which dashboard you are using, but I assume you are referring to the default Dashboard display of the joystick position.
The default LabVIEW dashboard is setup to display axis 0 & 1 from two different joysticks plugged into USB0 and USB1. To show the two sticks on an xBox create a new LabVIEW Dashboard and change the joystick mapping to the Dashboard display. It's pretty simple to do. Last edited by Mark McLeod : 12-01-2017 at 08:53. |
|
#4
|
||||
|
||||
|
Re: Programing linear strafing Xbox controller
Quote:
|
|
#5
|
|||
|
|||
|
Re: Programing linear strafing Xbox controller
Are you making sure that they are in the right port on the DriverStation for example like the 0 and 1 port.
|
|
#6
|
||||
|
||||
|
Re: Programing linear strafing Xbox controller
I searched Chief Delphi for the phrase "linear strafing drive", and that phrase doesn't seem to be widely used.
Would you please clarify what you mean? |
|
#7
|
||||
|
||||
|
Re: Programing linear strafing Xbox controller
Using an H-Drive... like mecanum but with all Omni and an additional center Omni wheel. We still can't figure out how to use the different axis's (axisis?) to straife (arcade drive)
|
|
#8
|
||||
|
||||
|
Re: Programing linear strafing Xbox controller
That's a widely understood name for it.
Quote:
Quote:
|
|
#9
|
|||
|
|||
|
Re: Programing linear strafing Xbox controller
Pro tip: the USB tab of the driver station shows all axes and buttons on your controllers, regardless of how your dashboard is programmed.
Click on the controller you're using and move the sticks around to verify which axis is which and that they're all working. Last edited by thatnameistaken : 14-01-2017 at 20:40. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|