13 #include <dynamic-graph/entity.h>    23 #include "../test-paths.h"    69                                   "/feature-visual-point" TESTS_DYNLIBSUFFIX);
    72       dlopen(PLUGIN_LIB_INSTALL_PATH 
"/feature-visual-point" TESTS_DYNLIBSUFFIX,
    77     cerr << 
" Error dl" << endl;
    79     cerr << dlerror() << endl;
    83     DWORD dwLastError = GetLastError();
    84     FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM |
    85                       FORMAT_MESSAGE_IGNORE_INSERTS,
    86                   NULL, dwLastError, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
    87                   (LPTSTR)&pszMessage, 0, NULL);
    89     cerr << pszMessage << endl;
    90     LocalFree(pszMessage);
    98       LoadLibrary(PLUGIN_LIB_INSTALL_PATH 
"/gain-adaptive" TESTS_DYNLIBSUFFIX);
   100   dlib = dlopen(PLUGIN_LIB_INSTALL_PATH 
"/gain-adaptive" TESTS_DYNLIBSUFFIX,
   105     cerr << 
" Error dl" << endl;
   107     cerr << dlerror() << endl;
   111     DWORD dwLastError = GetLastError();
   112     FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM |
   113                       FORMAT_MESSAGE_IGNORE_INSERTS,
   114                   NULL, dwLastError, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
   115                   (LPTSTR)&pszMessage, 0, NULL);
   117     cerr << pszMessage << endl;
   118     LocalFree(pszMessage);
   124       FactoryStorage::getInstance()->newEntity(
"GainAdaptive", 
"Gain");
   126       sotFactory.newFeature(
"FeatureVisualPoint", 
"DynamicTest.");
   139     cout << 
"Exception caught! " << e << endl;
 
virtual dg::Vector & computeError(dg::Vector &res, int)
Compute the error between the desired feature and the current value of the feature measured or deduce...
virtual ~TestFeature(void)
virtual const std::string & getClassName() const
virtual const std::string & getClassName(void) const
Returns the name class. 
virtual unsigned int & getDimension(unsigned int &res, int)
Verbose method. 
virtual void display(std::ostream &os) const
virtual dg::Vector & computeActivation(dg::Vector &res, int)
This class gives the abstract definition of a feature. 
virtual dg::Matrix & computeJacobian(dg::Matrix &res, int)
Compute the Jacobian of the error according the robot state.