Go to Post The robots are just vehicles taking kids on a ride to STEMville. - FTC5110 [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #9   Spotlight this post!  
Unread 23-12-2014, 13:14
baumgartensam's Avatar
baumgartensam baumgartensam is offline
Registered User
AKA: Sam Baumgarten
FRC #0751 (Barn2Robotics)
Team Role: Alumni
 
Join Date: Apr 2014
Rookie Year: 2013
Location: United States
Posts: 42
baumgartensam will become famous soon enough
Re: pic: This is the change Frank was talking about.

We've started on this years code and we wanted to publish it to ensure we can use it on this years robot:
Code:
public class PizzaThrower extends Subsystem {
    public void throwPizza(Pizza pizza) {
        if (!pizza.toppings.contains(PizzaTopping.PINEAPPLE)) {
            // WE NEED THE PINEAPPLE
            addPineapple();
        }

        smsFrank();
        startRippleGenerator(); // to scare the fish
        startShooterWheels();
        enableOven(); // to ensure the pizza is fully cooked
        fastBakePizza();
        throwPizza();
        turnOffOven();
        shoot();
        stopShooterWheels();
        stopRippleGenerator();
        flyToElevation(1); // meters
        swim(2); // meters
    }
}
Hopefully this helps everyone out with the pizza water flying game

Last edited by baumgartensam : 23-12-2014 at 13:17.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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