@@ -0,0 +1,1411 @@
+/*%0D%0A * To change this template, choose Tools %7C Templates%0D%0A * and open the template in the editor.%0D%0A */%0D%0Apackage com.rmr662.frc2012.component;%0D%0A%0D%0Aimport com.rmr662.frc2012.generic.Component;%0D%0Aimport edu.wpi.first.wpilibj.Servo;%0D%0A%0D%0A/**%0D%0A *%0D%0A * @author RMR Programming%0D%0A */%0D%0Apublic class CameraComponent extends Component%7B%0D%0A    %0D%0A    private static final int PAN = 10;%0D%0A    private static final int TILT = 9;%0D%0A%0D%0A    Servo servoPan;%0D%0A    double currentPanState;%0D%0A    double targetPanState;%0D%0A    Servo servoTilt;%0D%0A    double currentTiltState;%0D%0A    double targetTiltState;%0D%0A    %0D%0A    public CameraComponent()%7B%0D%0A        servoPan = new Servo(PAN);%0D%0A        servoTilt = new Servo(TILT);%0D%0A    %7D%0D%0A    %0D%0A    public void update() %7B%0D%0A        servoPan.set(targetPanState);  %0D%0A        servoTilt.set(targetTiltState);%0D%0A    %7D%0D%0A%0D%0A    public void disable() %7B%0D%0A    %7D%0D%0A%0D%0A    public String getRMRName() %7B%0D%0A        return %22Camera Compenent%22;%0D%0A    %7D%0D%0A    %0D%0A    public double getPanState()%7B%0D%0A        currentPanState = servoPan.get();%0D%0A        return currentPanState;%0D%0A    %7D%0D%0A    %0D%0A    public void setPanTargetState(double goalPanState)%7B%0D%0A        targetPanState = goalPanState;%0D%0A    %7D%0D%0A    %0D%0A    public double getTiltState()%7B%0D%0A        currentTiltState = servoTilt.get();        %0D%0A        return currentTiltState;%0D%0A    %7D%0D%0A    %0D%0A    public void setTiltTargetState(double goalTiltState)%7B%0D%0A        targetTiltState = goalTiltState;%0D%0A    %7D%0D%0A%7D%0D%0A

Add CameraComponent