Downloading program without programming kit
Page 1 of 1

Author:  alicexxx [ Thu Nov 19, 2015 1:01 am ]
Post subject:  Downloading program without programming kit

Basicly, our group is programming a sequence for the robot to be controlled by joystick. But we got a problem that the joystick does not work after downloading our program. We do not currently have a programming kit but we will get them in the future (as we've spent a lot of budget for the competition kits and such stuff.)

The joystick and cortex are all up to date, and all the batteries are fully charged. We also tried on multiple computers, joysticks, and cortexes in case of hardware problems. Firstly, we connect the robot and laptop with A-to-A cable and downloaded the program (Download method was set to "Download using Vexnet or USB"). It works totally fine when tethered to the computer. However, when we switch to the code programmed for joystick control, download it again, and connect the robot to a joystick, it did not work at all. Doesn't matter if it is our code or the sample code provided by ROBOTC, it never works.

So I'm guessing it's something to do with the way we download it? Do we have to use a programming kit?

We really need this information as we are preparing for a qualifier for "Nothing but Net" and we truly appreciate your help.

Author:  Tabor473 [ Fri Nov 20, 2015 3:30 pm ]
Post subject:  Re: Downloading program without programming kit

If you connect the joystick and the robot using the A to A cable does the joystick code work? If not can you attach the code you were using to test? (Use the code tags)

Author:  joshuav [ Sat Nov 21, 2015 7:42 pm ]
Post subject:  Re: Downloading program without programming kit

Did you have a similar problem to ours? viewtopic.php?f=11&t=12537

We were having what seems to be the same problem, so we switched to the competition template and put our code into the "usercontrol" task, and then it worked when we downloaded our code. Are you using the default task ("main")?

Author:  alicexxx [ Tue Nov 24, 2015 11:38 pm ]
Post subject:  Re: Downloading program without programming kit


Thanks for your valid advice!!!
We switched to competition mode and it worked!
That saved us from buying programming kits XDDD

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group