10-31-2013 10:20 AM
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?
Solved! Go to Solution.
10-31-2013 01:01 PM
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.
10-31-2013 08:59 PM
there is a button that set the mode to "t" of "F".
11-01-2013 01:41 AM
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?
11-01-2013 01:54 AM
I'm running it on rc editor teleop mode. I have confirm that the controllers are all working. But the button does not work.
11-01-2013 01:56 AM
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.....