• Service robot motion status monitoring
    #include <iostream> #include “serial_debug.h” using namespace std; int debug_wait() { #if DEBUG cout << “press any key to contine” << endl; getchar(); #endif return 0; } bool creat_serial(HANDLE &hComm,string strPort) { hComm = CreateFile(strPort.c_str(), GENERIC_RE...