RCL - RoboCLuedo  v1.0
Francesco Ganci - S4143910 - Experimental Robotics Lab - Assignment 1

◆ ServiceBackupOntology()

bool ServiceBackupOntology ( std_srvs::Trigger::Request &  emptyrequest,
std_srvs::Trigger::Response &  success 
)

implementation of service SERVICE_INTERFACE_SAVE_ONTOLOGY

The service exports the actual ontology to file. If the parameter PARAM_ONTOLOGY_BACKUP_PATH is defined in the parameter server, the ontology is exported in that path, otherwise the service returns with error.

Parameters
emptyrequestempty request
successif the request has been accomplished or not
See also
std_srvs::Trigger

Definition at line 306 of file cluedo_armor_interface.cpp.

References OUTLOG, PARAM_ONTOLOGY_BACKUP_PATH, SERVICE_INTERFACE_SAVE_ONTOLOGY, and SS.