From af4a30e96d48726e1fd60c270493a1062f5edafa Mon Sep 17 00:00:00 2001 From: webbrain-one <295484252+webbrain-one@users.noreply.github.com> Date: Thu, 30 Jul 2026 14:37:28 +0300 Subject: [PATCH] Implement missing serial command transmission Call SendCommand to transmit data over the opened serial port, resolving the unused SendCommand and sensPositionData issue. --- RCJ_2014/RCJ_2014.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.