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/26...
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: https://gist.github.com/martonmiklos/...
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!