View Full Version : Hangs when trying to deploy Java code
hax0rm4n
20-02-2010, 17:27
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 :mad:!
When I check the robot, the code isn't on it.
Does anyone have a solution?
Thanks
Robototes2412
20-02-2010, 17:38
When it says that, you need to enable the robot
hax0rm4n
20-02-2010, 18:58
Do you mean through the Driver account on the driver station?
Whenever I do that, it doesn't have any effect.
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().
ericarseneau
22-02-2010, 17:08
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.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.