02-17-2010 08:06 PM
Hello,
I am a programmer from team 3008, I have gone as far as to load the robot code temporarly and the robot runs but as soon as it becomes disconnected the robot code clears as well. It is being bothersome to reload the program over and over to test if the robot moves. Last year at competition somebody helped us load the program on the robot and have the robot remember it not needed to reload code. I was wondering how to do that any ideas? Thanks
02-18-2010 04:46 AM
You probably want to look for deploying code in some of the FIRST documentation or tutorials, but the brief version is to verify things work interactively using the run button. Then at the bottom of the project window under the cRIO section is a group for Build Specifications. Inside is one for the Robot Code. You want to right click on it and Build. This constructs an executable for VXWorks and saves it locally on disk. Assuming that works, you right click and set the Run as Startup. It will ask you to deploy and reboot and you confirm. This step copies the exe to the cRIO and changes an ini file to indicate that you'd like to boot up to that program each time. You can later change this by unsetting the same setting. Other actions such as reformatting the controller also reset this setting.
Greg McKaskle