@@ -0,0 +1,2346 @@
+// RobotBuilder Version: 0.0.2%0A//%0A// This file was generated by RobotBuilder. It contains sections of%0A// code that are automatically generated and assigned by robotbuilder.%0A// These sections will be updated in the future when you export to%0A// Java from RobotBuilder. Do not put any code or make any change in%0A// the blocks indicating autogenerated code or it will be lost on an%0A// update. Deleting the comments indicating the section will prevent%0A// it from being updated in th future.%0Apackage org.usfirst.frc330.Beachbot2013Java.commands;%0Aimport edu.wpi.first.wpilibj.command.AutoSpreadsheetCommand;%0Aimport edu.wpi.first.wpilibj.command.Command;%0Aimport org.usfirst.frc330.Beachbot2013Java.Robot;%0A/*%0A * $Log: PickupFrisbeesOn.java,v $%0A * Revision 1.8  2013-03-15 02:58:07  echan%0A * robotbuilder update%0A *%0A * Revision 1.7  2013-03-15 02:51:09  echan%0A * added cvs log comments%0A *%0A */%0A/**%0A *%0A */%0Apublic class  PickupFrisbeesOnBatteryCompensated extends Command implements AutoSpreadsheetCommand %7B%0A    public PickupFrisbeesOnBatteryCompensated() %7B%0A        // Use requires() here to declare subsystem dependencies%0A        // eg. requires(chassis);%0A%09%0A        // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES%0A        requires(Robot.frisbeePickup);%0A    // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES%0A    %7D%0A    // Called just before this Command runs the first time%0A    protected void initialize() %7B%0A    %7D%0A    // Called repeatedly when this Command is scheduled to run%0A    protected void execute() %7B%0A        Robot.frisbeePickup.setFrisbeePickupMotorPickupBatteryCompensated();%0A    %7D%0A    // Make this return true when this Command no longer needs to run execute()%0A    protected boolean isFinished() %7B%0A        return false;%0A    %7D%0A    // Called once after isFinished returns true%0A    protected void end() %7B%0A        Robot.frisbeePickup.setFrisbeePickupMotorStop();%0A    %7D%0A    // Called when another command which requires one or more of the same%0A    // subsystems is scheduled to run%0A    protected void interrupted() %7B%0A        end();%0A    %7D%0A    public void setParam1(double param1) %7B%0A    %7D%0A    public void setParam2(double param2) %7B%0A    %7D%0A    public void setParam3(double param3) %7B%0A    %7D%0A    public void setStopAtEnd(boolean stopAtEnd) %7B%0A    %7D%0A    public Command copy() %7B%0A        return new PickupFrisbeesOnBatteryCompensated();%0A    %7D%0A%7D%0A

Create new command for adjusting pickup speed based on linear scaling of battery voltage