|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
java code won't download
My Driver Station shows that the robot is connected through the wireless router, but when I try to download my Java code from NetBeans, it won't download. I click the RUN button in NetBeans and the output window shows it compiles and everything, but then it just says this:
Waiting to connect to OTA command server of 10.32.5.2:8001 for past 67s It just says that repeatedly every second and I have to stop it. I tried to connect to the robot with the ethernet cable, but it wouldn't connect. I am new to NetBeans, and I'm not sure exactly how to download it, I was just hitting the RUN button. Please help! |
|
#2
|
||||
|
||||
|
Re: java code won't download
First questions first: what OS are you running?
edit: I noticed this error a lot more often on windows rather than linux, try an ubuntu install on a flashdrive and see if that fixes it Last edited by Robototes2412 : 11-23-2010 at 01:17 AM. Reason: more clarity |
|
#3
|
||||
|
||||
|
Re: java code won't download
I'm running XP, but I think I might have found a solution though. I tried re-imaging the robot and it seems to work now, at least I can download the code. But now when I run it the infamous watchdog is hungry! The DS says Watchdog not fed whenever I try to do anything. I tried directly disabling the Watchdog in my Java code, but it still said it wasn't fed.
|
|
#4
|
|||||
|
|||||
|
Re: java code won't download
Can you post the code that you are trying to download?
If it compiles and downloads correctly now, but you still get the watchdog error, it is most likely the code you are trying to run. A Possible Cause could be that you are trying to download camera code, but the camera isn't pugged into the cRio via an ethernet crossover cable |
|
#5
|
||||
|
||||
|
Re: java code won't download
add getWatchdog().kill();
|
|
#6
|
||||
|
||||
|
Re: java code won't download
I looked at the documentation on the Watchdog and it said that you have to feed it yourself, so I did that and everything works fine now.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Robot code won't load | RevusHarkings | C/C++ | 3 | 02-18-2010 03:19 PM |
| Java program won't run | I am error | Java | 3 | 01-29-2010 01:51 PM |
| User code won't download/run-possible causes? | nathanww | C/C++ | 3 | 01-21-2009 11:00 AM |
| Won't Download! | diaperrash89 | Programming | 4 | 10-25-2007 11:02 PM |
| 2005 default code won't compile | Robby | Programming | 22 | 02-04-2005 06:21 PM |