I’ve seen that some robots are used by two control pad. Can someone explains me how can I do that? Referring to how it has to be programmed and other necessary thing.
And another question, is allowed use two batteries?
I’ve seen that some robots are used by two control pad. Can someone explains me how can I do that? Referring to how it has to be programmed and other necessary thing.
And another question, is allowed use two batteries?
In robot C instead of assigning a command to Ch2 or Ch3 for the controller, you would use Ch2Xmrt2 or Ch2Xmtr2 for the second controller.
In response to your second question, you can use a second battery, if you are using a power expander.
I haven’t seen any robots used solely with the control pads, we use them as precision guides which move at 50% power so we can be precise when putting on pegs and cubes.
You can definity can use a power exander to use two batteries but we found them to be unreliable sense both of ours died completely.
I would post code, but trying to search through 1100 lines of code I suck at.
https://vexforum.com/t/cortex-joystick-buttons-and-robotc-print-to-screen/17626/1
I think that I didn’t formulated the question well. I would like to know how can I use two controller for only one robot. How does it has to be programmed?
Are you talking about using joystick controllers or something else? Which programming language are you using?
In RobotC, there are some example files in the sample program files for dual joystick controllers:
http://s3.amazonaws.com/robotc-wiki/wiki-images/3/38/Cortex_VEXNet_Sample_Prog.png
In EasyC you simply change the joystick part of a driver control block from 1 to 2
Example:
https://drive.google.com/file/d/0B4Ncpd5mvXJ8blBraFAtM1BLMHc/view?usp=sharing