Functions | Variables
ros1_classifier_server.cpp File Reference
#include <pluginlib/class_loader.h>
#include <string>
#include <map>
#include "ros/ros.h"
#include "ml_classifiers/zero_classifier.hpp"
#include "ml_classifiers/nearest_neighbor_classifier.hpp"
#include "ml_classifiers/CreateClassifier.h"
#include "ml_classifiers/AddClassData.h"
#include "ml_classifiers/TrainClassifier.h"
#include "ml_classifiers/ClearClassifier.h"
#include "ml_classifiers/SaveClassifier.h"
#include "ml_classifiers/LoadClassifier.h"
#include "ml_classifiers/ClassifyData.h"
Include dependency graph for ros1_classifier_server.cpp:

Go to the source code of this file.

Functions

bool addCallback (AddClassData::Request &req, AddClassData::Response &res)
 
bool classifyCallback (ClassifyData::Request &req, ClassifyData::Response &res)
 
bool clearCallback (ClearClassifier::Request &req, ClearClassifier::Response &res)
 
bool createCallback (CreateClassifier::Request &req, CreateClassifier::Response &res)
 
bool createHelper (string class_type, boost::shared_ptr< Classifier > &c)
 
bool loadCallback (LoadClassifier::Request &req, LoadClassifier::Response &res)
 
int main (int argc, char **argv)
 
bool saveCallback (SaveClassifier::Request &req, SaveClassifier::Response &res)
 
bool trainCallback (TrainClassifier::Request &req, TrainClassifier::Response &res)
 

Variables

pluginlib::ClassLoader< Classifierc_loader ("ml_classifiers","ml_classifiers::Classifier")
 
std::map< string, boost::shared_ptr< Classifier > > classifier_list
 

Function Documentation

bool addCallback ( AddClassData::Request &  req,
AddClassData::Response &  res 
)

Definition at line 92 of file ros1_classifier_server.cpp.

bool classifyCallback ( ClassifyData::Request &  req,
ClassifyData::Response &  res 
)

Definition at line 191 of file ros1_classifier_server.cpp.

bool clearCallback ( ClearClassifier::Request &  req,
ClearClassifier::Response &  res 
)

Definition at line 129 of file ros1_classifier_server.cpp.

bool createCallback ( CreateClassifier::Request &  req,
CreateClassifier::Response &  res 
)

Definition at line 69 of file ros1_classifier_server.cpp.

bool createHelper ( string  class_type,
boost::shared_ptr< Classifier > &  c 
)

Definition at line 58 of file ros1_classifier_server.cpp.

bool loadCallback ( LoadClassifier::Request &  req,
LoadClassifier::Response &  res 
)

Definition at line 163 of file ros1_classifier_server.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 205 of file ros1_classifier_server.cpp.

bool saveCallback ( SaveClassifier::Request &  req,
SaveClassifier::Response &  res 
)

Definition at line 146 of file ros1_classifier_server.cpp.

bool trainCallback ( TrainClassifier::Request &  req,
TrainClassifier::Response &  res 
)

Definition at line 111 of file ros1_classifier_server.cpp.

Variable Documentation

std::map<string, boost::shared_ptr<Classifier> > classifier_list

Definition at line 55 of file ros1_classifier_server.cpp.



ml_classifiers
Author(s): Scott Niekum , Joshua Whitley
autogenerated on Sun Dec 15 2019 03:53:50