We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bca12a commit 27db669Copy full SHA for 27db669
rviz_default_plugins/include/rviz_default_plugins/displays/pointcloud/point_cloud_transport_display.hpp
@@ -58,7 +58,12 @@ class PointCloud2TransportDisplay : public rviz_common::_RosTopicDisplay
58
: messages_received_(0)
59
{
60
QString message_type = QString::fromStdString(rosidl_generator_traits::name<MessageType>());
61
- topic_property_->setMessageType(message_type);
+ std::vector<QString> supported_types = {
62
+ "sensor_msgs/msg/PointCloud2",
63
+ "point_cloud_intefaces/msg/CompressedPointCloud2"
64
+ };
65
+
66
+ topic_property_->setMessageTypes(supported_types);
67
topic_property_->setDescription(message_type + " topic to subscribe to.");
68
}
69
0 commit comments