diff --git a/RCJ_2014/RCJ_2014.cpp b/RCJ_2014/RCJ_2014.cpp index e3177c7..dd9a60e 100644 --- a/RCJ_2014/RCJ_2014.cpp +++ b/RCJ_2014/RCJ_2014.cpp @@ -183,7 +183,7 @@ int main(int argc, const char** argv){ createTrackbar( "V_MAX", track_2, &V_max_reg, 256 ); // Initiate the serial port. Uncomment to enable. - //initSerialPort(); + initSerialPort(); first_scanpoint = Point(160, scan_height_reg); @@ -272,7 +272,7 @@ int main(int argc, const char** argv){ I_Error=lineangle(); // Send the course errors (P_Error and I_Error over the serial port. // Uncomment to enable. - //sendPositionData(); + sendPositionData(); if(show_images==1) imshow( "camera image", image ); // Show camera view after editing.