Disconnect your laptop from the camera itself.. it doesn't know if it should be talking to you or the robot controller.
You do not have to change the code to track the target. You may want to calibrate the camera to make it track better, but that is well documented in the CMUCam2 Workbook at
http://kevin.org/frc/