|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Joysticks not reading
I am running the 2015 DS with the option for 2014 DS and FMS mode selected.
|
|
#2
|
||||
|
||||
|
Re: Joysticks not reading
Quote:
From the wpilib screensteps documentation: Quote:
|
|
#3
|
||||
|
||||
|
Re: Joysticks not reading
Regardless, the joystick reads in our main program (although axis mapping is messed up), but not this one.
|
|
#4
|
|||||
|
|||||
|
Re: Joysticks not reading
By "our main program", do you mean the driver station? If so, then that's what Pault was saying would happen. It appears that the legacy mode is only for connections via the FMS, not direct connections. Here, it's not FMS that is the old version, but the robot computer. I believe that you will have to run the 2014 driver station or a work alike.
|
|
#5
|
||||
|
||||
|
Re: Joysticks not reading
By main program I meant our main robot code from last year. The joystick returns values when the robot runs that program, but there is no difference (that I see) in how the joysticks are created and called in the new program, and it does not work.
Last edited by Poseidon5817 : 13-05-2015 at 09:44. |
|
#6
|
||||
|
||||
|
Re: Joysticks not reading
Just an update, it WAS the joystick ports that were wrong. I created the Joystick object in port 1 and moved the controller to 0 instead of 1 on the DS and it worked. Thanks for the help guys!
|
|
#7
|
|||||
|
|||||
|
Re: Joysticks not reading
Glad we could help!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|