Announcement

Collapse
No announcement yet.

2nd Controller does not perform function in code

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

  • 2nd Controller does not perform function in code

    Our team decided today they finally wanted 2 controllers, one to do the driving and one to control our arm. We added another FTCGamepad in our Blocks then changed the code controlling the arm to Gamepad 2. However, when we run our code, Gamepad 1's buttons still move the arm, and Gamepad 2 does nothing.

    We doughnut understand.


  • #2
    Did you press Start + B in the second gamepad?
    Thanks,
    Programmer - FTC Delta Kappa

    Comment


    • #3
      You should verify that you have a second gamepad configured in the Driver Station with the Start+B on the GamePad 2 and then also make sure in your Designer for the program that you set FtcGamePad2 to be number 2 in the GamePadNumber Properties section. I think I've seen it always default to "1" when you pull it into your app so you need to make sure to change it.

      Comment


      • #4
        I agree with Gordon. I bet the FtcGamePad2's GamepadNumber property is still 1. You need to set it to 2.

        Comment

        Working...
        X