Skip to content

Commit

Permalink
Add service support for select topic ui (#832)
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-alton authored Dec 9, 2024
1 parent 90cd19e commit 4ce7a27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mapviz_plugins/src/topic_select.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ static bool topicSort(const std::string &info1,
void SelectTopicDialog::fetchTopics()
{
known_topics_ = nh_->get_topic_names_and_types();
auto services = nh_->get_service_names_and_types();
known_topics_.insert(services.begin(), services.end());
std::vector<std::string> map_keys;
for (auto const& element : known_topics_)
{
Expand Down

0 comments on commit 4ce7a27

Please sign in to comment.