Robotics StackExchange | Archived questions

Topic viewer for custom Protobuf messages not showing data

I am following this tutorial https://gazebosim.org/api/transport/7.0/messages.html particularly for custom Protobuf messages.

Everything works, I can publish and subscribe to my message types. ./subscribercustommsg prints my messages. But I can not read the message data from gz topic -e -t /mytopic

Particularly I am interested to show the data that publishes my plugin in the topic viewer plugin. (Now it shows the topic, custom message type, but gives the warning: [GUI] [Wrn] [TopicViewer.cc:247] Null Msg: example.msgs.MyStringMsg

and no data is shown :(

Please help. I am using gazebo garden, ubuntu 20.04

Asked by hronoses on 2023-06-01 07:10:49 UTC

Comments

Answers