Skip to content

Commit

Permalink
Fix QoS profile for subscription
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoomen committed Oct 21, 2024
1 parent b703a8c commit 63541d8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tesseract_rviz/src/environment_monitor_properties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,7 @@ void EnvironmentMonitorProperties::onEnvironmentSnapshotTopicChanged()
// Connect to new topic
data_->snapshot = data_->node->create_subscription<tesseract_msgs::msg::Environment>(
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));
}

Expand Down

0 comments on commit 63541d8

Please sign in to comment.