Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes | List of all members
tactiles::BiotacData Class Reference

#include <tactile_sensors.hpp>

Inheritance diagram for tactiles::BiotacData:
Inheritance graph
[legend]

Public Member Functions

 BiotacData ()
 
 BiotacData (const BiotacData &btac)
 
 BiotacData (const GenericTactileData &gtd)
 
std::vector< int16_t > consume_pac ()
 
std::vector< int16_t > get_pac (bool consume=false)
 
 ~BiotacData ()
 
- Public Member Functions inherited from tactiles::GenericTactileData
double convertToInt (std::string const &s)
 
 GenericTactileData ()
 
 GenericTactileData (bool tactile_data_valid, int sample_frequency, std::string manufacturer, std::string serial_number, int software_version_current, int software_version_server, bool software_version_modified, std::string pcb_version)
 
virtual std::string get_software_version ()
 
void set_software_version (std::string version)
 
virtual ~GenericTactileData ()
 

Public Attributes

std::vector< int16_t > electrodes
 
int pac0
 
int pac1
 
boost::circular_buffer< int16_t > pac_buffer_
 
int pdc
 
int tac
 
int tdc
 
- Public Attributes inherited from tactiles::GenericTactileData
std::string manufacturer
 
std::string pcb_version
 
int sample_frequency
 
std::string serial_number
 
int software_version_current
 
bool software_version_modified
 
int software_version_server
 
bool tactile_data_valid
 
int which_sensor
 

Static Public Attributes

static const size_t pac_size_ = 270
 

Private Attributes

std::vector< int16_t > pac_vector_
 

Detailed Description

Definition at line 230 of file tactile_sensors.hpp.

Constructor & Destructor Documentation

◆ BiotacData() [1/3]

tactiles::BiotacData::BiotacData ( )
inline

Definition at line 235 of file tactile_sensors.hpp.

◆ BiotacData() [2/3]

tactiles::BiotacData::BiotacData ( const BiotacData btac)
inline

Definition at line 242 of file tactile_sensors.hpp.

◆ BiotacData() [3/3]

tactiles::BiotacData::BiotacData ( const GenericTactileData gtd)
inlineexplicit

Definition at line 258 of file tactile_sensors.hpp.

◆ ~BiotacData()

tactiles::BiotacData::~BiotacData ( )
inline

Definition at line 270 of file tactile_sensors.hpp.

Member Function Documentation

◆ consume_pac()

std::vector<int16_t> tactiles::BiotacData::consume_pac ( )
inline

Definition at line 285 of file tactile_sensors.hpp.

◆ get_pac()

std::vector<int16_t> tactiles::BiotacData::get_pac ( bool  consume = false)
inline

Definition at line 274 of file tactile_sensors.hpp.

Member Data Documentation

◆ electrodes

std::vector<int16_t> tactiles::BiotacData::electrodes

Definition at line 297 of file tactile_sensors.hpp.

◆ pac0

int tactiles::BiotacData::pac0

Definition at line 290 of file tactile_sensors.hpp.

◆ pac1

int tactiles::BiotacData::pac1

Definition at line 291 of file tactile_sensors.hpp.

◆ pac_buffer_

boost::circular_buffer<int16_t> tactiles::BiotacData::pac_buffer_

Definition at line 298 of file tactile_sensors.hpp.

◆ pac_size_

const size_t tactiles::BiotacData::pac_size_ = 270
static

Definition at line 300 of file tactile_sensors.hpp.

◆ pac_vector_

std::vector<int16_t> tactiles::BiotacData::pac_vector_
private

Definition at line 303 of file tactile_sensors.hpp.

◆ pdc

int tactiles::BiotacData::pdc

Definition at line 293 of file tactile_sensors.hpp.

◆ tac

int tactiles::BiotacData::tac

Definition at line 295 of file tactile_sensors.hpp.

◆ tdc

int tactiles::BiotacData::tdc

Definition at line 296 of file tactile_sensors.hpp.


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


sr_hardware_interface
Author(s): Ugo Cupcic
autogenerated on Mon Feb 28 2022 23:52:08