FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

program on the cRio

I was wondering if anyone can help with this? We are using the default arcade program. we have added a solenoid controlled by the trigger, we have the compressor controlled with the cRio.  The question is this, when we upload the program it deploys just fine and everything works well as long as the program is in the run mode on the classmate.  Then if we stop the program on the classmate , the drivers station indicates that there is no robot code and of course the robot does not respond. Is there a way to download code to the cRio so that we can have all the programs run without having the program actually runnning on the classmate? Seems to me there must be a way to download the code and then as long as you are connected via the router you should not have to deploy the code each time you want to operated the bot. Hope that makes sense.

0 Kudos
Message 1 of 3
(4,662 Views)

[FRC 2010] How Do I Deploy Default Code To My Robot?

Also, if you run your code, then right-click on the cRIO in the project explorer and choose "Disconnect" after the code has already started, the code will continue to run until you either reconnect and stop it, or reboot the cRIO.  This means you can download and run your code, disconnect, log out and then log back in as the driver station.  However, for the competition you'll want to deploy your code as a startup application.

0 Kudos
Message 2 of 3
(2,662 Views)

thanks for the info   will try this

john

0 Kudos
Message 3 of 3
(2,662 Views)