|
programming the Logitech game controller
We are wanting to use the Logitech game controller (same as used in FTC) as our drive controller and one of the standard joysticks for the actuator. We are having trouble getting the Logitech controller to work. The attached code shows generally how things are set up (we haven't added the code for the actuator yet). We have tried every combination of the axes from the Joystick Get VI, but they all have the same result (which is kind of odd). I don't have the specifics of the results with me at the moment, but essentially the left joystick y axis will control one motor, and the left joystick x axis will control the other motor. The right joystick does not do anything. Ideally we'd like to have the left joystick y axis control one motor and the right joystick y axis control the other motor. Any thoughts on what we could be doing wrong? Thanks in advance.
|