blob: bb98a50d0b7fc7ff8bbfefc1fbdb68fe6b2418ee [file] [log] [blame]
jerrym1815d882013-02-14 04:21:29 +00001// RobotBuilder Version: 0.0.2
2//
3// This file was generated by RobotBuilder. It contains sections of
4// code that are automatically generated and assigned by robotbuilder.
5// These sections will be updated in the future when you export to
6// C++ from RobotBuilder. Do not put any code or make any change in
7// the blocks indicating autogenerated code or it will be lost on an
8// update. Deleting the comments indicating the section will prevent
9// it from being updated in th future.
10#include "Shooter.h"
11#include "../Robotmap.h"
12Shooter::Shooter() : Subsystem("Shooter") {
13 // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS
14 shooterTiltMotor = RobotMap::shooterShooterTiltMotor;
15 shooterTiltEncoder = RobotMap::shooterShooterTiltEncoder;
16 shooterTiltHomeSensor = RobotMap::shooterShooterTiltHomeSensor;
17 latchFrisbeeSolenoid = RobotMap::shooterLatchFrisbeeSolenoid;
18 loadFrisbeeSolenoid = RobotMap::shooterLoadFrisbeeSolenoid;
19 shootSolenoid = RobotMap::shooterShootSolenoid;
20 // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS
21}
22
23void Shooter::InitDefaultCommand() {
24 // Set the default command for a subsystem here.
25 //SetDefaultCommand(new MySpecialCommand());
26 // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DEFAULT_COMMAND
27 // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DEFAULT_COMMAND
28}
29// Put methods for controlling this subsystem
30// here. Call these from Commands.