Skip to content

Commit 2dc6b05

Browse files
committed
use custom QoS
1 parent 8d572b4 commit 2dc6b05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rviz_default_plugins/src/rviz_default_plugins/displays/image/image_display.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ void ImageDisplay::subscribe()
214214
}
215215
subscription_ = image_transport_.subscribe(
216216
rviz_default_plugins::displays::getBaseTopicFromTopic(topic_property_->getTopicStd()),
217-
qos_profile.get_rmw_qos_profile().depth,
217+
qos_profile.get_rmw_qos_profile(),
218218
&ImageDisplay::incomingMessage, this,
219219
new image_transport::TransportHints(
220220
node.get(), transport_hint, "image_transport"));

0 commit comments

Comments
 (0)