diff --git a/libs/KubeControl b/libs/KubeControl index 49b3605..f59652a 160000 --- a/libs/KubeControl +++ b/libs/KubeControl @@ -1 +1 @@ -Subproject commit 49b36053d7dc6f08c05d10d80928597367788046 +Subproject commit f59652ada171d389dff669b1472e89672f59829c diff --git a/libs/OrderLibrary b/libs/OrderLibrary index 5d5f9b0..836cee9 160000 --- a/libs/OrderLibrary +++ b/libs/OrderLibrary @@ -1 +1 @@ -Subproject commit 5d5f9b0c74b9a74c8bfff55738aa94cfdac18d52 +Subproject commit 836cee9d6ca80582fad2e376d0c8632e58c85397 diff --git a/libs/SimCore b/libs/SimCore index fe66a7c..e879a12 160000 --- a/libs/SimCore +++ b/libs/SimCore @@ -1 +1 @@ -Subproject commit fe66a7cad0744faba0acb3b36de6ad52ddc3bb6a +Subproject commit e879a12f2667f7a82c8a8ea2aad2d0ced957cb69 diff --git a/libs/json b/libs/json index a0c1318..5d27543 160000 --- a/libs/json +++ b/libs/json @@ -1 +1 @@ -Subproject commit a0c1318830519eac027a31edec1a99ce1ae5670e +Subproject commit 5d2754306d67d1e654a1a34e1d2e74439a9d53b3 diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index 8de683b..8821616 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -221,9 +221,10 @@ namespace Entities void Entity::handleExternalComms(std::string msg) { try { - WHISPER::Message whisperMsg(msg); + LOG_S(INFO)<<"New Message from TCP Client"; + LOG_S(INFO)<<"Message Type is: " << whisperMsg.msgType_; switch (whisperMsg.msgType_) { @@ -233,6 +234,7 @@ namespace Entities auto MoveOrder = Orders::MoveOrder::unpack(whisperMsg); if (MoveOrder != nullptr) { + LOG_S(INFO)<< "Moveorder Received"; if(MoveOrder->Speed.isValid()) this->setSpeed(MoveOrder->Speed.getValue()); if(MoveOrder->Course.isValid()) this->setCourse(MoveOrder->Course.getValue()); if(MoveOrder->getPosition().isValid()) @@ -281,8 +283,8 @@ namespace Entities - LOG_S(INFO)<<"sending"; - CommandCommsServer_->sendMessage(this->OwnShipTrack->buildMessage().serialize()); + // LOG_S(INFO)<<"sending"; + // CommandCommsServer_->sendMessage(this->OwnShipTrack->buildMessage().serialize()); }