send 1 with pong

This commit is contained in:
ackimixs
2024-04-29 12:48:37 +02:00
parent 3382f60e54
commit 74e4c0274c

View File

@@ -311,7 +311,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()) {