rticonnextdds-usecases-automotive icon indicating copy to clipboard operation
rticonnextdds-usecases-automotive copied to clipboard

How to echo custom topics in ROS2

Open mehmety888 opened this issue 4 years ago • 0 comments

Could you please explain in detail how to make a topic and message readable by ROS2? I want to visualize another ros message in RViz,

I add rt/ in front of the topic I use default Qos,

I used rtiddsgen with c++11, I can see topic in ROS2

However when I echo the topic to see message ros2 topic echo /topic_name

I got an error The passed message type is invalid.

Thanks in advance

mehmety888 avatar Jun 03 '21 15:06 mehmety888