Skip to content

Commit 711da26

Browse files
committed
fix
1 parent dc9fb2d commit 711da26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataStreamROS2/datastream_ros2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ void DataStreamROS2::subscribeToTopic(const std::string& topic_name, const std::
232232
auto bound_callback = [=](std::shared_ptr<rclcpp::SerializedMessage> msg) { messageCallback(topic_name, msg); };
233233

234234
auto publisher_info = _node->get_publishers_info_by_topic(topic_name);
235-
auto detected_qos = rosbag2_transport::Rosbag2QoS::adapt_request_to_offers(topic_name, publisher_info);
235+
auto detected_qos = adapt_request_to_offers(topic_name, publisher_info);
236236

237237
// double subscription, latching or not
238238
auto subscription = _node->create_generic_subscription(topic_name,

0 commit comments

Comments
 (0)