From ea9c8dfc1771ab96c5e48a52aa56d9de13ceda7a Mon Sep 17 00:00:00 2001 From: joan vallve <jvallve@iri.upc.edu> Date: Thu, 1 Feb 2024 11:31:31 +0100 Subject: [PATCH] adapted to new captureLandmarkExternal API filling type --- src/subscriber_landmarks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subscriber_landmarks.cpp b/src/subscriber_landmarks.cpp index 878fc61..0608bc6 100644 --- a/src/subscriber_landmarks.cpp +++ b/src/subscriber_landmarks.cpp @@ -116,7 +116,7 @@ void SubscriberLandmarks::callback(const wolf_ros_node::LandmarkDetectionArray:: // fill capture makePosDef(cov); - cap->addDetection(msg->detections.at(i).id, meas, cov, msg->detections.at(i).quality); + cap->addDetection(msg->detections.at(i).id, msg->detections.at(i).type, meas, cov, msg->detections.at(i).quality); } // process -- GitLab