ros::master::getTopics bug?
Hello all,
I have tried to get a list of all topics in an rqt plugin with the ros::master::getTopics as suggested here: http://stackoverflow.com/questions/26785675/ros-get-current-available-topic-in-code-not-command
When I have first run my plugin only rosout and rosout_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: https://gist.github.com/martonmiklos/44f59cc921858771b4b6dc061e8e29e2
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!
Asked by Márton Miklós on 2016-04-18 15:43:06 UTC
Comments