diff --git a/src/C++/Driver/src/test.cpp b/src/C++/Driver/src/test.cpp index feade16..4cb2ed2 100644 --- a/src/C++/Driver/src/test.cpp +++ b/src/C++/Driver/src/test.cpp @@ -20,9 +20,9 @@ int main() robot.startCommunication("/dev/ttyUSB0", true, null_ptr); usleep(1 * 1000 * 1000); cout << "Enter commando"; - // thread mv(command); + thread mv(command); usleep(30 * 1000 * 1000); - // mv.join(); //only exit once thread one is done running + mv.join(); //only exit once thread one is done running } int command(){