Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   How to start autonomous? (http://www.chiefdelphi.com/forums/showthread.php?t=142865)

BagBeth 01-30-2016 03:16 PM

How to start autonomous?
 
I'm a noob programmer and i was searching for ways to start the robots at the beginning. Any suggestions? like should we start it with the sound at the beggining? :confused:

IronicDeadBird 01-30-2016 03:18 PM

Re: How to start autonomous?
 
Are you using the simple robot template or command base template?

BagBeth 01-30-2016 03:28 PM

Re: How to start autonomous?
 
Command Base :)

Guy997 01-30-2016 03:35 PM

Re: How to start autonomous?
 
You make a new command then call it in robotinit like so:


Code:

autonomousCommand = new *insertcommandhere*();

BagBeth 01-30-2016 03:43 PM

Re: How to start autonomous?
 
This can make the robot start without, like, pushing buttons?

Guy997 01-30-2016 03:47 PM

Re: How to start autonomous?
 
If you mean that the robot moves/does the command you put in during the autonomous period without you touching the controller, then yes.


All times are GMT -5. The time now is 08:25 AM.

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