|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Lack of joystick control
A copy of our code is attached. Our understanding was that you could have joystick recognition in the default setting and then input a motor control that would work. The only area that we changed was the teleop VI.
|
|
#2
|
||||
|
||||
|
Re: Lack of joystick control
What was wrong with the default code that was already in Teleop.vi? Was it not working?
|
|
#3
|
|||||
|
|||||
|
Re: Lack of joystick control
Lose the Watchdog and the Driver station Start Comm/Stop Comm.
The Joystick open and Motor Open need to be moved to Begin.vi where you will find other examples. The references are passed just like they are for Joystick 1. The USB 1 you have is already being used by the default code for your drive motors. Using it again breaks your motors. Your closes need to be moved to Finish.vi where all the other closes are placed. |
|
#4
|
|||
|
|||
|
Re: Lack of joystick control
Sorry for the late reply, but thanks for all of the input. It got us going in the right direction and now we seem to be cooking.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|