mirror of
https://github.com/modelec/connectors.git
synced 2026-03-18 21:50:33 +01:00
remove log
This commit is contained in:
@@ -110,7 +110,6 @@ void MyTCPClient::handleMessageFromArduino(const std::string &message) {
|
||||
std::cout << "Received from arduino : " << message << std::endl;
|
||||
std::vector<std::string> args = TCPSocket::split(message, ":");
|
||||
if (args.size() == 2) {
|
||||
std::cout << "is ok1" << std::endl;
|
||||
if (transitMode.waitingFor2 && TCPSocket::startWith(args[1], "2")) {
|
||||
std::cout << "Recieved 2 slow down speed" << std::endl;
|
||||
std::string command = "V " + std::to_string(transitMode.endSPeed) + "\n";
|
||||
@@ -129,7 +128,6 @@ void MyTCPClient::handleMessageFromArduino(const std::string &message) {
|
||||
|
||||
std::vector<std::string> token = TCPSocket::split(args[0], ",");
|
||||
if (token.size() == 3) {
|
||||
std::cout << "is ok2" << std::endl;
|
||||
if (TCPSocket::startWith(token[0], ".")) {
|
||||
this->robotPose.pos.x = std::stoi("0" + token[0]);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user