Quasics2016Code/Mettaton/src/Commands/FlyWheelAutonomous.cpp
// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTOR
BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTOR
BEGIN AUTOGENERATED CODE SOURCE = ROBOTBUILDER ID = CONSTRUCTOR
FlyWheelAutonomous::FlyWheelAutonomous(bool isIntake, double seconds): Command() {
    m_isIntake = isIntake;
    m_seconds = seconds;
	Requires(Robot::shooter.get());
	mSeconds = int(m_seconds*50 +.5); 
	timer = 0; 
}
FlyWheelAutonomous :: FlyWheelAutonomous ( bool isIntake , double seconds ) : Command ( ) { m_isIntake = isIntake ; m_seconds = seconds ; Requires ( Robot :: shooter . get ( ) ) ; mSeconds = int ( m_seconds * 50 + .5 ) ; timer = 0 ; }
BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTOR
BEGIN AUTOGENERATED CODE SOURCE = ROBOTBUILDER ID = CONSTRUCTOR
// Use requires() here to declare subsystem dependencies // eg. requires(chassis); // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES //Transfer run time into program cycle //Set cycle counter to 0