Jafar
|
00001 /* $Id$ */ 00002 00003 #ifndef _MULTI_START_NEW_MAP_STRATEGY_HPP_ 00004 #define _MULTI_START_NEW_MAP_STRATEGY_HPP_ 00005 00006 #include <kernel/dataLog.hpp> 00007 #include <geom/t3dEuler.hpp> 00008 #include <slam/slamEkf.hpp> 00009 #include <slam/robot.hpp> 00010 #include <slam/baseSlam.hpp> 00011 #include <slam/MapManagerFactory.hpp> 00012 00013 namespace jafar { 00014 namespace slammm { 00019 class StartNewMapStrategy { 00020 public: 00021 virtual ~StartNewMapStrategy(); 00027 virtual bool startNewMap( const slam::SlamEkf& _currentMap, unsigned int _robotId, unsigned int _newFeaturesCount) const =0; 00028 }; 00034 class FeaturesCountStartNewMapStrategy : public StartNewMapStrategy { 00035 public: 00041 FeaturesCountStartNewMapStrategy( unsigned int _maxFeatures ); 00042 virtual ~FeaturesCountStartNewMapStrategy(); 00043 virtual bool startNewMap( const slam::SlamEkf& _currentMap, unsigned int _robotId, unsigned int _newFeaturesCount) const; 00044 private: 00045 unsigned int m_maxFeatures; 00046 }; 00047 } 00048 } 00049 00050 #endif
Generated on Wed Oct 15 2014 00:37:28 for Jafar by doxygen 1.7.6.1 |