|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Adding more axes and joysticks Confused!
Hey, I am a rookie and I am trying to assign more axes and buttons on the code. I tried to use the unbundle thing according to the secret book of FRC but it gives me a broken wire. My question is how to assign more axes than just the x and y. How do I add more motors and what not. Am I doing it right? The teleop and begin below
|
|
#2
|
|||
|
|||
|
Re: Adding more axes and joysticks Confused!
The secret book is a year behind. The new joystick VIs now support more buttons and more axes. In order to do this, the datatype isn't a cluster that you unbundle, but an array that you index.
To access the third axis, put the mouse cursor on the bottom edge of the node that accesses X and Y, and grow it down by one ... or more. The same node can be used for buttons. Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|