FIRST Tech Challenge Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

teleop controller button no response

Solved!
Go to solution

In the pictures bellow is my program. Only the button part of the controller 1 cannot work. I have tried to invert controller 1 and 2, than controller 2's botton is not working. So i guess it was the program's problem.

I have also tried only replace the botton part, and the part with that case structure dose not work. (the thing in the case works.)

Is there any team can deal with the conflect between those structures?捕获.PNG2.PNG

0 Kudos
Message 1 of 24
(11,886 Views)

The "mode" button you have is an indicator this is designed to display info and will not work from the front panel. Right-Click on the LED and select change to control, this will convert it to a clickable button. You can then wire the terminal directly to the case structure so you don't have to use the local variable.

Message 2 of 24
(5,518 Views)

there is a button that set the mode to "t" of "F".3.PNG

0 Kudos
Message 3 of 24
(5,518 Views)

Jerry:

Where are you running from: RC Editor (Prototype or Teleop) or from a wi-fi FCS?

Have you been able to confirm that the 2 controllers you have connected to the PC are actually connected and functioning properly?

I'm not sure what your initial problem defines exactly. If one controller works, and the other doesn't then I would expect connection issues.

Although I haven't seen your complete code, I expect that you are switching MODEs so the robot will change the way it moves (ex.diagonal motion or spin) and that other buttons are changing your speed.

Is your problem that both controllers are functioning, but none of those kinds of changes in MODE and SPEED are happening?

0 Kudos
Message 4 of 24
(5,518 Views)

I'm running it on rc editor teleop mode. I have confirm that the controllers are all working. But the button does not work.

0 Kudos
Message 5 of 24
(5,518 Views)

I have tried many different way to place the structures, and finally i found that one of the for loop does not work at all. I don't know what happens to the structure, the second for loop doesn't work no matter i replace it or delete everything in it.....

0 Kudos
Message 6 of 24
(5,518 Views)