Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Robot Build Hanging (http://www.chiefdelphi.com/forums/showthread.php?t=113686)

normaldude8825 16-02-2013 16:19

Robot Build Hanging
 
When downloading the code to the robot, it hangs at this point:
Quote:

[cRIO] Default robotInit() method running, consider providing your own
[cRIO] Default disabled() method running, consider providing your own
I have found what this methods were on the documentation, but I do not know where these go nor what goes in them.

Arhowk 16-02-2013 16:31

Re: Robot Build Hanging
 
Quote:

Originally Posted by normaldude8825 (Post 1234453)
When downloading the code to the robot, it hangs at this point:


I have found what this methods were on the documentation, but I do not know where these go nor what goes in them.

that just says you didn't override those methods. you have to make those methods in your iterative robot project if u want them to run

normaldude8825 16-02-2013 16:44

Re: Robot Build Hanging
 
Quote:

Originally Posted by Arhowk (Post 1234461)
that just says you didn't override those methods. you have to make those methods in your iterative robot project if u want them to run

What do I have to initialize and disable in these methods and where in the robot code does these methods go?

Arhowk 16-02-2013 18:31

Re: Robot Build Hanging
 
Quote:

Originally Posted by normaldude8825 (Post 1234471)
What do I have to initialize and disable in these methods and where in the robot code does these methods go?

Make a new "IterativeRobot" project and all of the code will be automatically added for you

Ginto8 16-02-2013 19:30

Re: Robot Build Hanging
 
Quote:

[cRIO] Default robotInit() method running, consider providing your own
[cRIO] Default disabled() method running, consider providing your own
I'm pretty sure that if these messages are appearing, it's an indicator that the build was successful and is now running on the robot.

cgmv123 16-02-2013 22:46

Re: Robot Build Hanging
 
Quote:

Originally Posted by Arhowk (Post 1234461)
that just says you didn't override those methods. you have to make those methods in your iterative robot project if u want them to run

You don't need them present in order to function. If you don't override them, it just uses the init and disabled methods from the parent class.


All times are GMT -5. The time now is 10:13.

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