-
Does anybody know, how i can select the type of a topic in rviz2, if a topic hast two types? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
The Create 3 robot publishes data on the However, the main point is different. You can find here documentation for RViz, which includes instructions on how to write new plugins: https://wiki.ros.org/rviz |
Beta Was this translation helpful? Give feedback.
The Create 3 robot publishes data on the
/ir_intensity-data
topic using onlyirobot_create_msgs/msg/IrIntensityVector
.ROS does not support to publish messages of different types on the same topic and, in the more recent releases, it would crash right away if you try to do that.
However, the main point is different.
It sounds like you want to display the
/ir_intensity-data
topic in RViz and unfortunately this is not possible out of the box.RViz can display only a limited number of topics, i.e. those topics that use message types supported by the RViz plugins.
The
irobot_create_msgs/msg/IrIntensityVector
, being a "custom" ROS topic developed by iRobot for the Create 3, does not have plugi…