25namespace client_behaviors
36 RCLCPP_INFO_STREAM_THROTTLE(
40 auto topicnames =
getNode()->get_topic_names_and_types();
42 for (
auto & t : topicnames)
44 ss << t.first << std::endl;
51 auto totalstr = ss.str();
52 RCLCPP_INFO_STREAM_THROTTLE(
54 "[" <<
getName() <<
"] still waiting topic " <<
topicName_ <<
", listing topics ("
55 << topicnames.size() <<
")" << std::endl
std::string getName() const
virtual rclcpp::Logger getLogger() const
virtual rclcpp::Node::SharedPtr getNode() const
bool isShutdownRequested()
onEntry is executed in a new thread. However the current state cannot be left until the onEntry threa...
CbWaitTopic(std::string topicName)