24 model_type_ptr_per_type_map_ptr_(model_type_ptr_per_type_map_ptr), settings_ptr_(settings_ptr)
32 asr_world_model::GetRecognizerName::Response &response)
38 ROS_WARN_STREAM(
"No recognizer name found for this object type: " << request.object_type);
42 response.recognizer_name = perTypeit->second->recognizerName;
49 asr_world_model::GetIntermediateObjectWeight::Response &response)
55 ROS_WARN_STREAM(
"No weight found for this object type: " << request.object_type);
59 response.value = perTypeit->second->weight;
65 asr_world_model::GetAllObjectsList::Response &response) {
71 for (
const std::pair<std::string, ModelObjectPtr> &model_object_ptr_per_id_pair : model_type_ptr_per_type_pair.second->model_object_ptr_per_id_map) {
72 pushTypeAndId(response.allObjects, model_type_ptr_per_type_pair.first, model_object_ptr_per_id_pair.first);
88 for (
const std::pair<std::string, ModelObjectPtr> &model_object_ptr_per_id_pair : model_type_ptr_per_type_pair.second->model_object_ptr_per_id_map) {
89 if (model_object_ptr_per_id_pair.second->bestHypotheses.size() < model_object_ptr_per_id_pair.second->objectCount) {
90 pushTypeAndId(response.missingObjects, model_type_ptr_per_type_pair.first, model_object_ptr_per_id_pair.first);
100 asr_msgs::AsrTypeAndId typeAndId;
101 typeAndId.type = type;
102 typeAndId.identifier = identifier;
103 typeAndIds.push_back(typeAndId);
static boost::shared_ptr< DebugHelper > getInstance()
#define ROS_WARN_STREAM(args)
#define ROS_INFO_STREAM(args)