ros::master::getTopics bug?

asked 2016-04-18 15:43:06 -0500

Márton Miklós gravatar image

Hello all,

I have tried to get a list of all topics in an rqt plugin with the ros::master::getTopics as suggested here:

When I have first run my plugin only ros_out and ros_out_agg was accessible even if rostopic list listed another topics too. After opening a Plugins -> Easy message publisher the another topics also appeared.

I have created a PoC cpp file to test:

I am running Ubuntu 14.04 LTS, ROS indigo from the apt packages.

Does anyone has any information why the later method is failing? Thank you in advance!

edit retag flag offensive close merge delete