Quote:
Originally Posted by professorX
Thanks for the help. I will let you know how it goes when I test out the code on Monday.
Can someone answer questions 3 & 4 in the first post?
3. How do you save as project (not .java file) on a usb drive or on a different location from where it was originally saved?
4. How can I debug the code using System.out.println? It never prints out anything. Are there other ways for debugging the code or knowing what values you get from sensors?
|
3.) As stated above copy the project folder.
4.) println will print to the netconsole (eg the output section of netbeans while it is running). If you don't see output you may need to check your subnet mask. If it is not 255.0.0.0 then you will not see output from the robot.
I also agree that it appears that you are tripping the watchdog. You set the watchdog to get hungry every 0.5 seconds but only feed it every 3.