View Single Post
  #6   Spotlight this post!  
Unread 16-02-2011, 09:43
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
Re: Deploying stand-alone program on crio.

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:
    1. cd to your robot project directory
    2. 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.
Reply With Quote