![]() |
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 :mad:! When I check the robot, the code isn't on it. Does anyone have a solution? Thanks |
Re: Hangs when trying to deploy Java code
When it says that, you need to enable the robot
|
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. |
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(). |
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.
|
| All times are GMT -5. The time now is 09:27. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi