mirror of
https://github.com/modelec/detection_adversaire.git
synced 2026-01-18 16:17:23 +01:00
send 1 with pong
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user