|
Re: NetBeans run stops but doesnt crash
In NetBeans, the "Run" command is not supposed to complete - the Run task is watching for output from your program (System.out.println(), etc.)
If your robot doesn't have any more output, then NetBeans will just sit there waiting.
If your robot is not moving, you can add some temporary println calls to see if:
- your robot initializes correctly - finishes constructors, etc.
- the robot changes to the disabled, autonomous, and teleop states.
- print the status of joystick buttons and axis values
- look for "watchdog" errors.
|