Function rclcpp::executors::build_entities_collection

Function Documentation

void rclcpp::executors::build_entities_collection(const std::vector<rclcpp::CallbackGroup::WeakPtr> &callback_groups, ExecutorEntitiesCollection &collection)

Build an entities collection from callback groups.

Iterates a list of callback groups and adds entities from each valid group

Parameters:
  • callback_groups[in] List of callback groups to check for entities

  • colletion[inout] Entities collection to populate with found entities