eProsima / fastdds-visualizer-plugin

PlotJuggler plugin for Fast DDS
https://eprosima.com
GNU General Public License v2.0
7 stars 4 forks source link

How to select topic? #47

Closed YGD159 closed 2 years ago

YGD159 commented 2 years ago

I want to use this visualizer, but it can't select topic. Could you give me some good advice, millions of thanks. 2022-11-14 17-45-11屏幕截图

YGD159 commented 2 years ago

I install it by using this program named eProsima_PlotJuggler-eProsima-Edition-v1.0.0-Linux.run https://www.eprosima.com/index.php/component/ars/repository/eprosima-fast-dds-visualizer/eprosima-fast-dds-visualizer-1-0-0

YGD159 commented 2 years ago

2022-11-14 18-49-36屏幕截图 2022-11-14 18-49-45屏幕截图

jparisu commented 2 years ago

Hi @YGD159

The main reason the topic is not selectable is because the Fast DDS underneath the plugin does not know this Data Type. As it is said in the documentation Be aware that some data types may not be known by the internal Fast DDS application, and must be discovered via Dynamic Types. https://plotjuggler-fastdds-plugins.readthedocs.io/en/latest/rst/user_manual/configuration.html#select-topics

Also, there is no support for .idl files in this plugin. The simplest way to achieve it is by an .xml description file, as it is explained in this documentation page: https://plotjuggler-fastdds-plugins.readthedocs.io/en/latest/rst/user_manual/dynamic_data_types.html#xml-data-type

However, I could not assure you the correct behaviour of it as a known bug in Fast DDS limits the use of Data Types, and yours is not correctly supported (it is specified in a warning in the documentation page I linked before). Try to use other Data Type, as a bounded array or a string to define your Type.

YGD159 commented 2 years ago

Thank you for your reply, looking forward to update the tool in the future.