Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

get all topic names in C++ API

I am able to get advertised topics with std::list<std::string> topics; topics = gazebo::transport::getAdvertisedTopics(""); So how to get all topics which are present but not advertised/published ( like ~\unit_box\link\wrench , etc. ) is C++ API. These topics visible with gz topic -l but how to access in C++ API

get all topic names in C++ API

I am able to get advertised topics with with std::list<std::string> topics; topics = gazebo::transport::getAdvertisedTopics(""); So how How to get all topics which are present but not advertised/published ( like ~\unit_box\link\wrench , etc. ) is C++ API. API ? These topics visible with gz topic -l but how to access in C++ API

get all topic names in C++ API

I am able to get advertised topics with std::list<std::string> topics; topics = gazebo::transport::getAdvertisedTopics(""); How to get all topics which are present but not advertised/published ( like ~\unit_box\link\wrench , etc. ) is C++ API ? These topics visible with gz topic -l but how to access in C++ API

get all topic names in C++ API

I am able to get advertised topics with std::list<std::string> topics; topics = gazebo::transport::getAdvertisedTopics(""); How to get all topics which are present but not advertised/published ( like ~\unit_box\link\wrench , etc. ) is C++ API ? These topics are visible with gz topic -l but how to access in C++ API

get all topic names in C++ API

I am able to get advertised topics with std::list<std::string> topics; topics = gazebo::transport::getAdvertisedTopics(""); How to get all topics which are present but not advertised/published ( like ~\unit_box\link\wrench , etc. ) is C++ API ? These topics are visible with gz topic -l but how to access in C++ API