|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
Re: Hangs when trying to deploy Java code
When it says that, you need to enable the robot
|
|
#3
|
|||
|
|||
|
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. |
|
#4
|
||||
|
||||
|
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(). |
|
#5
|
|||
|
|||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |