
package edu.wpi.first.wpilibj.technobots.subsystems;

import edu.wpi.first.wpilibj.Victor;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.technobots.RobotMap;
import edu.wpi.first.wpilibj.technobots.commands.SweeperDoNothing;

/**
 *
 * @author Kim
 */
public class Sweeper extends Subsystem {

    Victor motor;

    // Initialize your subsystem here
    /**
     * Initialize the claw with the motor declared in {@link RobotMap}
     */
    public Sweeper() {
	super("Sweeper");
        motor = new Victor(RobotMap.sweeper);
    }

    public void initDefaultCommand() {
        // Set the default command for a subsystem here.
        //setDefaultCommand(new MySpecialCommand());
        
        setDefaultCommand(new SweeperDoNothing());
    }

    public void goForward(){

        motor.set(-.5);
    }
    public void doNothing() {

        motor.set(0);
    }
}



package edu.wpi.first.wpilibj.technobots.subsystems;

import edu.wpi.first.wpilibj.Victor;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.technobots.RobotMap;
import edu.wpi.first.wpilibj.technobots.commands.SweeperDoNothing;

/**
 *
 * @author Kim
 */
public class Sweeper extends Subsystem {

    Victor motor;

    // Initialize your subsystem here
    /**
     * Initialize the claw with the motor declared in {@link RobotMap}
     */
    public Sweeper() {
	super("Sweeper");
        motor = new Victor(RobotMap.sweeper);
    }

    public void initDefaultCommand() {
        // Set the default command for a subsystem here.
        //setDefaultCommand(new MySpecialCommand());

        setDefaultCommand(new SweeperDoNothing());
    }

    public void goForward(){

        motor.set(-1);
    }
    public void doNothing() {

        motor.set(0);
    }
}


Increase speed