diff --git a/src/subscriber_landmarks.cpp b/src/subscriber_landmarks.cpp index 878fc61199632c330f49c323c34641caca29722b..0608bc6601fbb5fe71c3431c796af10e2c507d9c 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