package org.usfirst.frc.team2503.r2016;

import org.usfirst.frc.team2503.r2016.component.CameraMount.CameraLights;

import edu.wpi.first.wpilibj.Compressor;
import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.DoubleSolenoid;
import edu.wpi.first.wpilibj.Relay;
import edu.wpi.first.wpilibj.Servo;
import edu.wpi.first.wpilibj.Spark;
import edu.wpi.first.wpilibj.SpeedController;
import edu.wpi.first.wpilibj.Talon;

public class MainRobotMap {

	public final SpeedController leftTrackSpeedController = new Talon(0);
	public final SpeedController rightTrackSpeedController = new Talon(1);
	public final SpeedController shooterSpeedController = new Spark(2);
	public final SpeedController winchSpeedController = new Talon(3);
	public final SpeedController hookerSpeedController = new Talon(4);
	public final SpeedController intakeSpeedController = new Talon(6);

	public final Servo cameraVerticalRotationServo = new Servo(7);
	public final Servo cameraHorizontalRotationServo = new Servo(5);

	public final Compressor compressor = new Compressor(1);
	public final DoubleSolenoid lift = new DoubleSolenoid(1, 0, 1);

	public final DigitalInput leftTrackEncoderAChannel = new DigitalInput(0);
	public final DigitalInput leftTrackEncoderBChannel = new DigitalInput(1);
	public final DigitalInput rightTrackEncoderAChannel = new DigitalInput(2);
	public final DigitalInput rightTrackEncoderBChannel = new DigitalInput(3);
	public final DigitalInput hookerEncoderAChannel = new DigitalInput(4);
	public final DigitalInput hookerEncoderBChannel = new DigitalInput(5);
	public final DigitalInput intakeLimitSwitch = new DigitalInput(6);
	public final DigitalInput hookerLimitSwitch = new DigitalInput(7);

	public final CameraLights cameraLights = new CameraLights(0);
	public final Relay indicatorRelay = new Relay(1);

	public MainRobotMap() {
	}

}

@@ -107,16 +107,483 @@
 aLights;
+%0Aimport org.usfirst.frc.team2503.r2016.component.CameraMount;%0Aimport org.usfirst.frc.team2503.r2016.component.Hooker;%0Aimport org.usfirst.frc.team2503.r2016.component.Intake;%0Aimport org.usfirst.frc.team2503.r2016.component.RhinoTrack;%0Aimport org.usfirst.frc.team2503.r2016.component.Shooter;%0Aimport org.usfirst.frc.team2503.r2016.component.Winch;%0Aimport org.usfirst.frc.team2503.r2016.subsystem.DriveBase;%0Aimport org.usfirst.frc.team2503.r2016.subsystem.MainDriveBase;
 %0A%0Aimport
@@ -705,16 +705,54 @@
 lenoid;%0A
+import edu.wpi.first.wpilibj.Encoder;%0A
 import e
@@ -2275,24 +2275,24 @@
 aLights(0);%0A
-
 %09public fina
@@ -2327,24 +2327,1169 @@
  Relay(1);%0A%0A
+%09public final Encoder leftTrackEncoder = new Encoder(this.leftTrackEncoderAChannel, this.leftTrackEncoderBChannel);%0A%09public final Encoder rightTrackEncoder = new Encoder(this.rightTrackEncoderAChannel, this.rightTrackEncoderBChannel);%0A%09public final Encoder hookerEncoder = new Encoder(this.hookerEncoderAChannel, this.hookerEncoderBChannel);%0A%0A%09public final Winch winch = new Winch(this.winchSpeedController);%0A%09public final Hooker hooker = new Hooker(this.hookerSpeedController, this.hookerEncoder, this.hookerLimitSwitch);%0A%09public final Shooter shooter = new Shooter(this.shooterSpeedController);%0A%09public final Intake intake = new Intake(this.intakeSpeedController, this.intakeLimitSwitch);%0A%09public final CameraMount cameraMount = new CameraMount(this.cameraHorizontalRotationServo, this.cameraVerticalRotationServo, this.cameraLights);%0A%0A%09public final RhinoTrack leftTrack = new RhinoTrack(this.leftTrackSpeedController);%0A%09public final RhinoTrack rightTrack = new RhinoTrack(this.rightTrackSpeedController);%0A%0A%09public final DriveBase driveBase = new MainDriveBase(this.leftTrack, this.leftTrackEncoder, this.rightTrack, this.rightTrackEncoder);%0A%0A
 %09public Main

Add the rest of the things from the Robot class to the MainRobotMap