diff --git a/src/C++/Driver/src/main.cpp b/src/C++/Driver/src/main.cpp index 9101493..9337292 100644 --- a/src/C++/Driver/src/main.cpp +++ b/src/C++/Driver/src/main.cpp @@ -43,6 +43,7 @@ int main() { std::cout << "Kobuki is not connected anymore. Reconnecting..." << std::endl; robot.startCommunication("/dev/ttyUSB0", true, nullptr); while (!robot.isConnected()) { + std::cout << "Attempting to reconnect..." << std::endl; std::this_thread::sleep_for(std::chrono::seconds(1)); } std::cout << "Reconnected to Kobuki." << std::endl;