TactileSensor Class Reference

#include <RobotAPI/drivers/WeissHapticSensor/TactileSensor.h>

Public Member Functions

int getAcquisitionMask (char **mask, int *mask_len)
 
std::string getDeviceTag ()
 
unsigned char getFrontEndGain ()
 
std::string getInterfaceInfo ()
 
tac_matrix_info_t getMatrixInformation ()
 
std::string getSensorType ()
 
tac_system_information_t getSystemInformation ()
 
unsigned short getThreshold ()
 
int loop (char *data, int data_len)
 
float readDeviceTemperature ()
 
FrameData readSingleFrame ()
 
PeriodicFrameData receicePeriodicFrame ()
 
int setAdvanvedAcquisitionMask (char *mask)
 
void setAquisitionWindow (unsigned char x1, unsigned char y1, unsigned char x2, unsigned char y2)
 
void setDeviceTag (std::string tag)
 
void setFrontEndGain (unsigned char gain)
 
void setThreshold (short threshold)
 
void startPeriodicFrameAcquisition (unsigned short delay_ms)
 
void stopPeriodicFrameAcquisition (void)
 
 TactileSensor (std::shared_ptr< AbstractInterface > interface)
 
void tareSensorMatrix (unsigned char operation)
 
bool tryGetDeviceTag (std::string &tag)
 
virtual ~TactileSensor ()
 

Static Public Member Functions

static void printMatrix (short *matrix, int width, int height)
 
static void printMatrixInfo (tac_matrix_info_t *mi)
 
static void printSystemInformation (tac_system_information_t si)
 

Friends

std::ostream & operator<< (std::ostream &, const TactileSensor &)
 

Detailed Description

Definition at line 81 of file TactileSensor.h.

Constructor & Destructor Documentation

◆ TactileSensor()

TactileSensor ( std::shared_ptr< AbstractInterface interface)

Definition at line 31 of file TactileSensor.cpp.

◆ ~TactileSensor()

~TactileSensor ( )
virtual

Definition at line 36 of file TactileSensor.cpp.

Member Function Documentation

◆ getAcquisitionMask()

int getAcquisitionMask ( char **  mask,
int *  mask_len 
)

Definition at line 206 of file TactileSensor.cpp.

◆ getDeviceTag()

std::string getDeviceTag ( )

Definition at line 297 of file TactileSensor.cpp.

+ Here is the call graph for this function:

◆ getFrontEndGain()

unsigned char getFrontEndGain ( )

Definition at line 239 of file TactileSensor.cpp.

+ Here is the call graph for this function:

◆ getInterfaceInfo()

std::string getInterfaceInfo ( )

Definition at line 325 of file TactileSensor.cpp.

◆ getMatrixInformation()

tac_matrix_info_t getMatrixInformation ( )

Definition at line 41 of file TactileSensor.cpp.

+ Here is the call graph for this function:

◆ getSensorType()

std::string getSensorType ( )

Definition at line 251 of file TactileSensor.cpp.

+ Here is the call graph for this function:

◆ getSystemInformation()

tac_system_information_t getSystemInformation ( )

Definition at line 269 of file TactileSensor.cpp.

+ Here is the call graph for this function:

◆ getThreshold()

unsigned short getThreshold ( )

Definition at line 219 of file TactileSensor.cpp.

+ Here is the call graph for this function:

◆ loop()

int loop ( char *  data,
int  data_len 
)

Definition at line 320 of file TactileSensor.cpp.

◆ printMatrix()

void printMatrix ( short *  matrix,
int  width,
int  height 
)
static

Definition at line 65 of file TactileSensor.cpp.

◆ printMatrixInfo()

void printMatrixInfo ( tac_matrix_info_t mi)
static

Definition at line 59 of file TactileSensor.cpp.

+ Here is the caller graph for this function:

◆ printSystemInformation()

void printSystemInformation ( tac_system_information_t  si)
static

Definition at line 281 of file TactileSensor.cpp.

◆ readDeviceTemperature()

float readDeviceTemperature ( )

Definition at line 262 of file TactileSensor.cpp.

+ Here is the call graph for this function:

◆ readSingleFrame()

FrameData readSingleFrame ( )

Definition at line 82 of file TactileSensor.cpp.

◆ receicePeriodicFrame()

PeriodicFrameData receicePeriodicFrame ( )

Definition at line 89 of file TactileSensor.cpp.

+ Here is the call graph for this function:

◆ setAdvanvedAcquisitionMask()

int setAdvanvedAcquisitionMask ( char *  mask)

Definition at line 202 of file TactileSensor.cpp.

◆ setAquisitionWindow()

void setAquisitionWindow ( unsigned char  x1,
unsigned char  y1,
unsigned char  x2,
unsigned char  y2 
)

Definition at line 191 of file TactileSensor.cpp.

+ Here is the call graph for this function:

◆ setDeviceTag()

void setDeviceTag ( std::string  tag)

Definition at line 290 of file TactileSensor.cpp.

+ Here is the call graph for this function:

◆ setFrontEndGain()

void setFrontEndGain ( unsigned char  gain)

Definition at line 226 of file TactileSensor.cpp.

+ Here is the call graph for this function:

◆ setThreshold()

void setThreshold ( short  threshold)

Definition at line 210 of file TactileSensor.cpp.

+ Here is the call graph for this function:

◆ startPeriodicFrameAcquisition()

void startPeriodicFrameAcquisition ( unsigned short  delay_ms)

Definition at line 151 of file TactileSensor.cpp.

◆ stopPeriodicFrameAcquisition()

void stopPeriodicFrameAcquisition ( void  )

Definition at line 159 of file TactileSensor.cpp.

◆ tareSensorMatrix()

void tareSensorMatrix ( unsigned char  operation)

Definition at line 183 of file TactileSensor.cpp.

+ Here is the call graph for this function:

◆ tryGetDeviceTag()

bool tryGetDeviceTag ( std::string &  tag)

Definition at line 306 of file TactileSensor.cpp.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  ,
const TactileSensor  
)
friend

Definition at line 330 of file TactileSensor.cpp.


The documentation for this class was generated from the following files: