Go to Post the best way to make things most unfair is to have different rules for different people. - Jack Jones [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-20-2010, 05:27 PM
hax0rm4n hax0rm4n is offline
All your base are belong to us
AKA: Andrew
FRC #3040 (Zero Wing)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Toronto
Posts: 2
hax0rm4n is an unknown quantity at this point
Hangs when trying to deploy Java code

Hi,

Whenever I try to deploy code to our robot, Netbeans hangs and says "No user-supplied RobotMain()". This is really frustrating, as I haven't been able to test my code !

When I check the robot, the code isn't on it.

Does anyone have a solution?

Thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 02-20-2010, 05:38 PM
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: Hangs when trying to deploy Java code

When it says that, you need to enable the robot
Reply With Quote
  #3   Spotlight this post!  
Unread 02-20-2010, 06:58 PM
hax0rm4n hax0rm4n is offline
All your base are belong to us
AKA: Andrew
FRC #3040 (Zero Wing)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Toronto
Posts: 2
hax0rm4n is an unknown quantity at this point
Re: Hangs when trying to deploy Java code

Do you mean through the Driver account on the driver station?

Whenever I do that, it doesn't have any effect.
Reply With Quote
  #4   Spotlight this post!  
Unread 02-21-2010, 02:01 AM
MattD's Avatar
MattD MattD is offline
Registered User
AKA: Matthew Douglas
FRC #0228 (GUS Robotics)
Team Role: Alumni
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Indianapolis, IN
Posts: 185
MattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to behold
Send a message via AIM to MattD
Re: Hangs when trying to deploy Java code

Seeing a message that says "Information: No user-supplied robotMain()" is completely normal if you're using the SimpleRobot class. It's a little misleading, but it is what it is. It has nothing to do with the robot being enabled or disabled. It will show every time it starts up.

How are you checking that your code isn't running? Are you not seeing the behavior that you expected? Something has to be running if you see the message about robotMain().
__________________
GUS Robotics Team 228

2010 WPI Engineering Inspiration Award
2010 WPI Regional Champions (Thanks 230 & 20!)
2010 CT VEX Champions
2010 CT VEX Innovate Award
2009 QCC VEX Champions
2009 CT Motorola Quality Award
2007 CT J&J Sportsmanship Award
2006 CT Best Website Award
Reply With Quote
  #5   Spotlight this post!  
Unread 02-22-2010, 05:08 PM
ericarseneau ericarseneau is offline
Registered User
no team
 
Join Date: Jan 2010
Location: San Diego
Posts: 30
ericarseneau is an unknown quantity at this point
Re: Hangs when trying to deploy Java code

Can you provide the code for the robot class you wrote? As stated, the output your getting is normal if you have not overridden the robotMain method, its an information message and can be ignored.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot deploy code Patrick Chiang FRC Control System 18 03-16-2013 03:46 PM
trying to get terminalc stuff to work in 2006 code Athena Programming 2 01-27-2007 09:28 PM
Trying to follow C18 interrupt context code... dcbrown Programming 5 12-21-2006 09:01 AM
Trying to import Camera code into program without. Kingofl337 Programming 1 02-18-2005 12:43 AM
Some things i'm trying to understand on Kevin's Accelerometer Code Squall Programming 2 02-03-2005 12:01 PM


All times are GMT -5. The time now is 07:31 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi