OK,
Java
always downloads the code to the the cRIO's file system, then
always reboots the robot. So if you've ever seen you code run from netbeans, then you've seen it run in "stand-alone mode".
So the problem is - why does the robot not seem to run when you don't start it from NetBeans.
Before power-cycling your robot, try one of these things:
- Run the NetConsole application on the driver station or a development machine
- Run "ant echo" from a development machine that's networked to the cRIO:
- cd to your robot project directory
- type "ant echo"
One thing to keep in mind is that if you are power cycling your robot (vs resetting the cRIO), it can take the new wireless access point 40 seconds to reconnect. In the mean time your robot program will have started up so you will miss any messages that you print during initialization.