FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting joystick buttons to motors

Ryan,

Can you please resend the example that wasn't shown in your reply yesterday concerning the Index Array to extract the Axis and the buttons of a Joystick.

Thanks

macro

0 Kudos
Message 21 of 28
(1,960 Views)

macro009 wrote:

Or in other word replace the FRC2014 teleop.vi instead of the FRC2015 teleop.vi.

If yes How can we add the WPI_JoystickGet.vi to the WPI Robotic Library function under the Joystick palettes, since the WPI_JoystickGet.vi still located under C: >program files (x86)>...>Rock Robotics>WPI>Joystick>.

You can simply drag it from the file system onto your teleop VI.  It will not be in the palette since it is deprecated.  Your milage may vary.

0 Kudos
Message 22 of 28
(1,960 Views)

Check my original post; I fixed my screenshot.

macro009 wrote:

Ryan,

Can you please resend the example that wasn't shown in your reply yesterday concerning the Index Array to extract the Axis and the buttons of a Joystick.

Thanks

macro

Ryan C.
Applications Engineer
National Instruments
0 Kudos
Message 23 of 28
(1,960 Views)

Thanks very much Ryan

macro

0 Kudos
Message 24 of 28
(1,960 Views)

Hello,

Does anyone knows how to use the POV Button on the Logitech extreme 3D pro, what kind of output data type we get from the POV. is it TRUE and FALSE?

In order to control a motor using the POV function what will be the configuration? is there any Index Array will be involved ?

thanks

0 Kudos
Message 25 of 28
(1,960 Views)

You'll need to index the array of POV outputs, and when you select index 0, you'll get a number that is in degrees that represents the direction of the POV. -1 means it is not pressed.

0 Kudos
Message 26 of 28
(1,960 Views)

Thanks for your feedback, Please can you tell me how to index the POV in labview?

Regards,

0 Kudos
Message 27 of 28
(1,960 Views)

Hi DAQjr,

I just find out, by using the WPI_JoystickGetValue.vi the indexed output for the POVs is located on the bottom side of the WPI_JoystickGetValue.vi.

Thanks very much!

0 Kudos
Message 28 of 28
(1,960 Views)