#include "aruco/ArucoDetector.h" #include "tcp/MyClient.h" #include #include #include #include std::atomic stopRequested(false); void userInputThread() { // Wait for the user to press Enter std::cout << "Press Enter to stop the program..." << std::endl; std::cin.ignore(); stopRequested = true; } int main(int argc, char *argv[]) { // Settup argument parser bool headless = false; for (int i = 0; i < argc; i++) { if (std::string(argv[i]) == "--help") { std::cout << "Usage: " << argv[0] << "