feature_finder.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2015 Fetch Robotics Inc.
00003  * Copyright (C) 2013-2014 Unbounded Robotics Inc.
00004  *
00005  * Licensed under the Apache License, Version 2.0 (the "License");
00006  * you may not use this file except in compliance with the License.
00007  * You may obtain a copy of the License at
00008  *
00009  *     http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 // Author: Michael Ferguson
00019 
00020 #ifndef ROBOT_CALIBRATION_CAPTURE_FEATURE_FINDER_H
00021 #define ROBOT_CALIBRATION_CAPTURE_FEATURE_FINDER_H
00022 
00023 #include <map>
00024 #include <boost/shared_ptr.hpp>
00025 
00026 #include <ros/ros.h>
00027 #include <robot_calibration_msgs/CalibrationData.h>
00028 
00029 namespace robot_calibration
00030 {
00031 
00035 class FeatureFinder
00036 {
00037 public:
00038   FeatureFinder(ros::NodeHandle & n) {};
00039   virtual ~FeatureFinder() {};
00040 
00041   virtual bool find(robot_calibration_msgs::CalibrationData * msg) = 0;
00042 };
00043 
00044 typedef boost::shared_ptr<FeatureFinder> FeatureFinderPtr;
00045 typedef std::map<std::string, FeatureFinderPtr > FeatureFinderMap;
00046 
00050 bool loadFeatureFinders(ros::NodeHandle& nh,
00051                         FeatureFinderMap& features);
00052 
00053 }  // namespace robot_calibration
00054 
00055 #endif  // ROBOT_CALIBRATION_CAPTURE_FEATURE_FINDER_H


robot_calibration
Author(s): Michael Ferguson
autogenerated on Thu Jun 6 2019 21:54:10