View Single Post
  #2   Spotlight this post!  
Unread 02-18-2016, 12:21 AM
MaGiC_PiKaChU's Avatar
MaGiC_PiKaChU MaGiC_PiKaChU is offline
Drive Coach
AKA: Antoine L.
FRC #3360 (Hyperion)
Team Role: Mentor
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Sherbrooke
Posts: 598
MaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond repute
Re: Please Answer My Question !!!!

Quote:
Originally Posted by CyberTeam5713 View Post
If I wanted to make my shooter shoot in autonomous how would I do that ?

Also can anyone show me a example of a autonomous program ?


Also how do I set up different autonomous programs to choose from in SmartDashBoard ?

Please Answer the following questions programming geniuses.

Are you running command based in Java?

If you are, then your autonomous program is litterally a command group with a sequence of commands.

you add your commands like this

addSequential(new myCommand1);
addSequential(new myCommand2);

if you want to run 2 commands at the same time:

addParallel(myCommand1);
addSequential(myCommand2);
__________________
2012 - 3360 - Junior member
2013 - 3360 - Lead Programmer, Human player
2014 - 3360 - Lead Programmer, Human player
2015 - 3360 - Lead Programmer, Driver
2016 - 3360 - Mentor, Drive coach




Last edited by MaGiC_PiKaChU : 02-18-2016 at 12:23 AM.
Reply With Quote