-
In the actual development and debugging, it is often necessary to confirm whether the data published by the publisher is normal when encountering problems. Is there a method or tool that can be implemented? Similar to "rostopic echo" in ROS |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @zip-link Ideally, Fast DDS CLI would be extended to add such functionality, although this is not part of the current roadmap (we are open to contributions though 😉). IMO, the ROS 2 approach is rather static, as the ROS 2 CLI needs to have access to the type libraries for the topics that you want to echo. A more flexible approach for the Fast DDS CLI would be to combine discovery callbacks and dynamic types to be able to create DataReaders on the discovered topics on the fly (without need to know the type description before hand). One important points is the time for discovery; ROS 2 instantiates a ROS 2 Daemon with the very first CLI command you run, and this daemon maintains a discovery graph which is made accessible to the |
Beta Was this translation helpful? Give feedback.
-
Hi @zip-link Fast DDS MonitorThis is an idea that we already considered. It would be awesome to have such functionality in Fast DDS Monitor. DDS RouterWe have implemented a new DDS Router tool. Its main application is to communicate DDS networks in WAN. |
Beta Was this translation helpful? Give feedback.
Hi @zip-link
Fast DDS Monitor
This is an idea that we already considered. It would be awesome to have such functionality in Fast DDS Monitor.
However, the time and effort needed would be high, and we do not plan to do it so far.
DDS Router
We have implemented a new DDS Router tool. Its main application is to communicate DDS networks in WAN.
However, it has a functionality that may be of your interest.
There is an
echo
Participant that prints the data arrived (in hexadecimal). Check this example on how it works: https://eprosima-dds-router.readthedocs.io/en/latest/rst/examples/echo_example.html . The good part is that it is independent from the topi…