From 63541d82f7fbf8a51566e1c296a74461b218c7f9 Mon Sep 17 00:00:00 2001 From: Roelof Oomen Date: Mon, 21 Oct 2024 12:24:26 +0200 Subject: [PATCH] Fix QoS profile for subscription --- tesseract_rviz/src/environment_monitor_properties.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tesseract_rviz/src/environment_monitor_properties.cpp b/tesseract_rviz/src/environment_monitor_properties.cpp index 2e02b173..d5f262ae 100644 --- a/tesseract_rviz/src/environment_monitor_properties.cpp +++ b/tesseract_rviz/src/environment_monitor_properties.cpp @@ -334,11 +334,7 @@ void EnvironmentMonitorProperties::onEnvironmentSnapshotTopicChanged() // Connect to new topic data_->snapshot = data_->node->create_subscription( data_->environment_snapshot_topic_property->getTopicStd(), -#if RCLCPP_VERSION_GTE(28, 0, 0) rclcpp::ServicesQoS(), -#else - rmw_qos_profile_services_default, -#endif std::bind(&EnvironmentMonitorProperties::snapshotCallback, this, std::placeholders::_1)); }