47 #include "boost/thread.hpp" 48 #include "boost/date_time/posix_time/posix_time.hpp" 94 { updater_thread.interrupt(); };
114 virtual bool IsGrasped(
void) = 0;
125 double expected_area[ 6 ];
128 double FullArea(
int m );
140 void SetCondition(
double eaf0p,
double eaf0d,
double eaf1p,
double eaf1d,
double eaf2p,
double eaf2d );
143 void SetCondition(
double* eafx );
153 virtual bool IsGrasped(
void);
class for calculation of IsGrasped condition using an expected area of contact measured by the tactil...
SDH::cDSA * ts
ptr to the cDSA tactile sensor object to use
This file contains the interface to class #SDH::cSDH, the end user class to access the SDH from a PC...
static int const DEFAULT_ERROR_THRESHOLD
default error threshold, see parameter error_threshold in CTOR
cIsGraspedBase(SDH::cDSA *_ts)
#define NAMESPACE_SDH_START
cDSAUpdater(cDSA *_ts, int _error_threshold=DEFAULT_ERROR_THRESHOLD)
SDH::cDSA is the end user interface class to access the DSACON32m, the tactile sensor controller of t...
abstract base class for calculation of IsGrasped condition using tactile sensor information ...
Interface of auxilliary utility functions for SDHLibrary-CPP.
This file contains interface to #SDH::cDSA, a class to communicate with the tactile sensors of the SD...
boost::thread updater_thread
void Updater()
the actual run function of the updater thread
#define NAMESPACE_SDH_END
This file contains settings to make the SDHLibrary compile on differen systems:
This file contains some basic definitions (defines, macros, datatypes)
Class to create an updater thread for continuously updating tactile sensor data.
void interrupt()
interrupt the updater thread