Enumerating services requires making a remote service call; doing this in the GUI thread could cause Mapviz to block and become unresponsive, so it is offloaded to another thread.
Public Functions
-
inline ServiceUpdaterThread(const std::shared_ptr<rclcpp::Node> &nh, const std::string &allowed_datatype, QObject *parent)
-
void run() override
Signals
-
void servicesFetched(ServiceStringVector services)
-
void fetchingFailed(const QString error_msg)