Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
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 }
00054
00055 #endif // ROBOT_CALIBRATION_CAPTURE_FEATURE_FINDER_H