Announcement

Collapse
No announcement yet.

Joystick Programming

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Joystick Programming

    When you connect 2 joysticks to the Field Control Software, do they both have the same function (do the buttons on both do the same thing) or, do you write utilize the function in RobotC for another controller.

  • #2
    Both joysticks have independent function. In ROBOTC, you would use
    Code:
    joystick.joy1_y1
    for the left stick Y axis on joystick 1, and
    Code:
    joystick.joy2_y1
    for the left stick Y axis on joystick 2.
    Max Bareiss

    FTC #248 Fatal Error (2009-2013)
    FRC #3142 Aperture (2009-2012)
    FRC #1302 Team Lionheart (2012-2013)
    ZRHS #89 Team K├╝hlschrank (2011-2013)
    ZRAC #40 Catcher in the Skye (2012)
    ISR 12: Umptysquatch 6
    Rowan University Baja SAE

    And mentoring for life.
    --
    11 seasons of FIRST in 6 years, as a student. Many more as a mentor.

    Comment


    • #3
      Thank you so much!

      Comment

      Working...
      X