View Single Post
  #7   Spotlight this post!  
Unread 13-02-2011, 01:53
lusterlink's Avatar
lusterlink lusterlink is offline
Registered User
FRC #1160 (FireBird Robotics)
Team Role: Programmer
 
Join Date: Aug 2010
Rookie Year: 2009
Location: USA
Posts: 9
lusterlink is an unknown quantity at this point
Re: Issue with autonomous mode and some newbie questions

Quote:
Originally Posted by professorX View Post
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?
I believe one way to achieve saving a project in an alternative location is to simply go to the project directory. Copy the project in question and paste it into the usb drive. There might be more elegant methods built into Netbeans, but I haven't found them.

The System.out.println function output should show right up in the Netconsole. Are you getting any output in the Netconsole (e.g. the cRIO spitting out all its boot up stuff)?
__________________
Reply With Quote