Update localization.cpp

This commit is contained in:
Ackimixs
2024-05-03 21:20:06 +02:00
committed by GitHub
parent a0b4360918
commit 0b11f7b6de

View File

@@ -312,7 +312,7 @@ void Localization::handleMessage(const std::string &message) {
string data = tokens[3];
if (contains(recipient, "lidar") || contains(recipient, "all")) {
if (contains(verb, "ping")) {
this->sendMessage(issuer, "pong", "");
this->sendMessage(issuer, "pong", "1");
}
if (contains(verb, "get health")) {
if (this->getLidarHealth()) {