From e0be75a4d9678c292be345538124e1b9d8bc9ab7 Mon Sep 17 00:00:00 2001 From: Fabian Reister <fabian.reister@kit.edu> Date: Sun, 19 Feb 2023 14:07:23 +0100 Subject: [PATCH] laser scanner memory: reduced spamming --- source/RobotAPI/libraries/armem_laser_scans/server/Visu.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/RobotAPI/libraries/armem_laser_scans/server/Visu.cpp b/source/RobotAPI/libraries/armem_laser_scans/server/Visu.cpp index 2387e7319..551e4792c 100644 --- a/source/RobotAPI/libraries/armem_laser_scans/server/Visu.cpp +++ b/source/RobotAPI/libraries/armem_laser_scans/server/Visu.cpp @@ -301,8 +301,7 @@ namespace armarx::armem::server::laser_scans if (robots.count(name) == 0) { ARMARX_CHECK_NOT_NULL(virtualRobotReader); - const auto robot = virtualRobotReader->getRobot( - name, timestamp, VirtualRobot::RobotIO::RobotDescription::eStructure); + const auto robot = virtualRobotReader->getRobot(name); if (robot) { @@ -324,7 +323,7 @@ namespace armarx::armem::server::laser_scans } else { - ARMARX_VERBOSE << "Faield to synchronize robot `" << name << "`"; + ARMARX_INFO << deactivateSpam(10) << "Failed to synchronize robot `" << name << "`"; } } return entry.first; -- GitLab