Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
world_model::WorldModel Class Reference

WorldModel class provides services for adding the viewports of the next best views to a list and retrieve them. Additionally, it provides services for adding objects, detected by object localization and retrieve them. More...

#include <world_model.hpp>

Public Member Functions

 WorldModel ()
 Creates a new instance of the world model and starts the services. More...
 

Static Public Member Functions

static const std::string GetObjectVisualizationParamName ()
 

Private Member Functions

void advertiseServices ()
 
void checkParametersFromOtherNode ()
 
void dynamicReconfigureCallback (asr_world_model::DynamicParametersConfig &config, uint32_t level)
 
void initIntermediateObjectWeights (const ISM::TableHelperPtr &table_helper)
 
void initMapsFromSqlTable ()
 
void initMapsFromWorldDescription ()
 
void initParams ()
 
bool processEmptyFoundObjectListServiceCall (std_srvs::Empty::Request &request, std_srvs::Empty::Response &response)
 
bool processGetAllObjectsListServiceCall (asr_world_model::GetAllObjectsList::Request &request, asr_world_model::GetAllObjectsList::Response &response)
 

Static Private Member Functions

static const std::string GetClientGetObjectMetaDataServiceName ()
 
static const std::string GetClientGetRecognizerListServiceName ()
 
template<typename T >
static boost::shared_ptr< std::map< std::string, T > > processStringMap (std::string &map)
 
template<typename T >
static boost::shared_ptr< std::vector< std::pair< std::string, T > > > processStringVector (std::string &map)
 

Private Attributes

boost::shared_ptr< CommonInformationHandlercommon_information_handler_ptr_
 
boost::shared_ptr< CompletePatternsHandlercomplete_patterns_handler_ptr_
 
DebugHelperPtr debug_helper_ptr_
 
ros::ServiceServer empty_complete_patterns_service_server_
 
ros::ServiceServer empty_found_object_list_service_server_
 
ros::ServiceServer empty_viewport_list_service_server_
 
ros::ServiceServer filter_viewport_depending_on_already_visited_viewports
 
boost::shared_ptr< FoundObjectHandlerfound_object_handler_ptr_
 
ros::ServiceServer get_all_objects_list_service_server_
 
ros::ServiceServer get_complete_patterns_service_server_
 
ros::ServiceServer get_found_object_list_service_server_
 
ros::ServiceServer get_intermediate_object_weight_service_server_
 
ros::ServiceServer get_missing_object_list_service_server_
 
ros::ServiceServer get_recognizer_name_service_server_
 
ros::ServiceServer get_viewport_list_service_server_
 
ros::NodeHandle local_handle_
 
dynamic_reconfigure::Server< asr_world_model::DynamicParametersConfig > mDynamicReconfigServer
 
ModelTypePtrPerTypeMapPtr model_type_ptr_per_type_map_ptr_
 
ros::ServiceServer push_complete_patterns_service_server_
 
ros::ServiceServer push_found_object_list_service_server_
 
ros::ServiceServer push_found_object_service_server_
 
ros::ServiceServer push_viewport_service_server_
 
SettingsPtr settings_ptr_
 
boost::shared_ptr< ViewPortHandlerview_port_handler_ptr_
 
ros::ServiceServer visualize_sampled_poses_service_server_
 

Detailed Description

WorldModel class provides services for adding the viewports of the next best views to a list and retrieve them. Additionally, it provides services for adding objects, detected by object localization and retrieve them.

Definition at line 59 of file world_model.hpp.

Constructor & Destructor Documentation

world_model::WorldModel::WorldModel ( )

Creates a new instance of the world model and starts the services.

Definition at line 26 of file world_model.cpp.

Member Function Documentation

void world_model::WorldModel::advertiseServices ( )
private

Definition at line 373 of file world_model.cpp.

void world_model::WorldModel::checkParametersFromOtherNode ( )
private

Definition at line 87 of file world_model.cpp.

void world_model::WorldModel::dynamicReconfigureCallback ( asr_world_model::DynamicParametersConfig &  config,
uint32_t  level 
)
private

Definition at line 59 of file world_model.cpp.

static const std::string world_model::WorldModel::GetClientGetObjectMetaDataServiceName ( )
inlinestaticprivate

Definition at line 70 of file world_model.hpp.

static const std::string world_model::WorldModel::GetClientGetRecognizerListServiceName ( )
inlinestaticprivate

Definition at line 73 of file world_model.hpp.

static const std::string world_model::WorldModel::GetObjectVisualizationParamName ( )
inlinestatic

Definition at line 66 of file world_model.hpp.

void world_model::WorldModel::initIntermediateObjectWeights ( const ISM::TableHelperPtr &  table_helper)
private

Definition at line 288 of file world_model.cpp.

void world_model::WorldModel::initMapsFromSqlTable ( )
private

Definition at line 204 of file world_model.cpp.

void world_model::WorldModel::initMapsFromWorldDescription ( )
private

Definition at line 153 of file world_model.cpp.

void world_model::WorldModel::initParams ( )
private

Definition at line 114 of file world_model.cpp.

bool world_model::WorldModel::processEmptyFoundObjectListServiceCall ( std_srvs::Empty::Request &  request,
std_srvs::Empty::Response &  response 
)
private

Definition at line 444 of file world_model.cpp.

bool world_model::WorldModel::processGetAllObjectsListServiceCall ( asr_world_model::GetAllObjectsList::Request &  request,
asr_world_model::GetAllObjectsList::Response &  response 
)
private

Definition at line 461 of file world_model.cpp.

template<typename T >
static boost::shared_ptr<std::map<std::string, T> > world_model::WorldModel::processStringMap ( std::string &  map)
inlinestaticprivate

Definition at line 125 of file world_model.hpp.

template<typename T >
static boost::shared_ptr<std::vector<std::pair<std::string, T> > > world_model::WorldModel::processStringVector ( std::string &  map)
inlinestaticprivate

Definition at line 149 of file world_model.hpp.

Member Data Documentation

boost::shared_ptr<CommonInformationHandler> world_model::WorldModel::common_information_handler_ptr_
private

Definition at line 107 of file world_model.hpp.

boost::shared_ptr<CompletePatternsHandler> world_model::WorldModel::complete_patterns_handler_ptr_
private

Definition at line 108 of file world_model.hpp.

DebugHelperPtr world_model::WorldModel::debug_helper_ptr_
private

Definition at line 101 of file world_model.hpp.

ros::ServiceServer world_model::WorldModel::empty_complete_patterns_service_server_
private

Definition at line 95 of file world_model.hpp.

ros::ServiceServer world_model::WorldModel::empty_found_object_list_service_server_
private

Definition at line 85 of file world_model.hpp.

ros::ServiceServer world_model::WorldModel::empty_viewport_list_service_server_
private

Definition at line 79 of file world_model.hpp.

ros::ServiceServer world_model::WorldModel::filter_viewport_depending_on_already_visited_viewports
private

Definition at line 81 of file world_model.hpp.

boost::shared_ptr<FoundObjectHandler> world_model::WorldModel::found_object_handler_ptr_
private

Definition at line 106 of file world_model.hpp.

ros::ServiceServer world_model::WorldModel::get_all_objects_list_service_server_
private

Definition at line 91 of file world_model.hpp.

ros::ServiceServer world_model::WorldModel::get_complete_patterns_service_server_
private

Definition at line 94 of file world_model.hpp.

ros::ServiceServer world_model::WorldModel::get_found_object_list_service_server_
private

Definition at line 86 of file world_model.hpp.

ros::ServiceServer world_model::WorldModel::get_intermediate_object_weight_service_server_
private

Definition at line 90 of file world_model.hpp.

ros::ServiceServer world_model::WorldModel::get_missing_object_list_service_server_
private

Definition at line 92 of file world_model.hpp.

ros::ServiceServer world_model::WorldModel::get_recognizer_name_service_server_
private

Definition at line 89 of file world_model.hpp.

ros::ServiceServer world_model::WorldModel::get_viewport_list_service_server_
private

Definition at line 80 of file world_model.hpp.

ros::NodeHandle world_model::WorldModel::local_handle_
private

Definition at line 99 of file world_model.hpp.

dynamic_reconfigure::Server<asr_world_model::DynamicParametersConfig> world_model::WorldModel::mDynamicReconfigServer
private

Definition at line 102 of file world_model.hpp.

ModelTypePtrPerTypeMapPtr world_model::WorldModel::model_type_ptr_per_type_map_ptr_
private

Definition at line 111 of file world_model.hpp.

ros::ServiceServer world_model::WorldModel::push_complete_patterns_service_server_
private

Definition at line 96 of file world_model.hpp.

ros::ServiceServer world_model::WorldModel::push_found_object_list_service_server_
private

Definition at line 84 of file world_model.hpp.

ros::ServiceServer world_model::WorldModel::push_found_object_service_server_
private

Definition at line 83 of file world_model.hpp.

ros::ServiceServer world_model::WorldModel::push_viewport_service_server_
private

Definition at line 78 of file world_model.hpp.

SettingsPtr world_model::WorldModel::settings_ptr_
private

Definition at line 113 of file world_model.hpp.

boost::shared_ptr<ViewPortHandler> world_model::WorldModel::view_port_handler_ptr_
private

Definition at line 105 of file world_model.hpp.

ros::ServiceServer world_model::WorldModel::visualize_sampled_poses_service_server_
private

Definition at line 87 of file world_model.hpp.


The documentation for this class was generated from the following files:


asr_world_model
Author(s): Aumann Florian, Borella Jocelyn, Hutmacher Robin, Karrenbauer Oliver, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Trautmann Jeremias
autogenerated on Thu Jan 9 2020 07:20:01