Re: Possible to run various autonomous modes from command mo
Unfortunately, you can only run one program on a Cortex at a time; there is actually an ongoing discussion over at the VEX forums of why this is so (http://www.vexforum.com/showthread.php? ... e+programs
The best way to solve this issue is to create a program that waits for button presses from the VEXNet Joystick, and then decide which function inside of the program to run. Alternatively, you can achieve the same results by hooking up an Xbee or other 3rd party wireless communication device to the Cortex's UART port and sending the serial commands wirelessly from a computer to the Cortex; you would need a USB breakout board for the XBee (or some other way to connect the wireless device to the computer) and a serial terminal window (such as RealTerm) to send the commands.
Out of curiosity, are you hoping to use this for a VEX competition or as a side project?
Check out our Blog
! And our Facebook page
Need help? Take a look at our Wiki
and our Forums.I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe?
~ Carly Rae Jepsen parody