Public Member Functions | Public Attributes | List of all members
tactiles::GenericTactileData Class Reference

#include <tactile_sensors.hpp>

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

Public Member Functions

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::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
 

Detailed Description

Definition at line 43 of file tactile_sensors.hpp.

Constructor & Destructor Documentation

tactiles::GenericTactileData::GenericTactileData ( )
inline

Definition at line 46 of file tactile_sensors.hpp.

tactiles::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 
)
inline

Definition at line 50 of file tactile_sensors.hpp.

virtual tactiles::GenericTactileData::~GenericTactileData ( )
inlinevirtual

Definition at line 63 of file tactile_sensors.hpp.

Member Function Documentation

double tactiles::GenericTactileData::convertToInt ( std::string const &  s)
inline

Definition at line 151 of file tactile_sensors.hpp.

virtual std::string tactiles::GenericTactileData::get_software_version ( )
inlinevirtual

Formats the software version for the diagnostics.

Returns
the formatted string

Reimplemented in tactiles::PST3Data.

Definition at line 129 of file tactile_sensors.hpp.

void tactiles::GenericTactileData::set_software_version ( std::string  version)
inline

Parses the version string received from the tactiles and fill in the variables.

Version
The raw version string.

Definition at line 85 of file tactile_sensors.hpp.

Member Data Documentation

std::string tactiles::GenericTactileData::manufacturer

Definition at line 71 of file tactile_sensors.hpp.

std::string tactiles::GenericTactileData::pcb_version

Definition at line 147 of file tactile_sensors.hpp.

int tactiles::GenericTactileData::sample_frequency

Definition at line 70 of file tactile_sensors.hpp.

std::string tactiles::GenericTactileData::serial_number

Definition at line 72 of file tactile_sensors.hpp.

int tactiles::GenericTactileData::software_version_current

Definition at line 74 of file tactile_sensors.hpp.

bool tactiles::GenericTactileData::software_version_modified

Definition at line 76 of file tactile_sensors.hpp.

int tactiles::GenericTactileData::software_version_server

Definition at line 75 of file tactile_sensors.hpp.

bool tactiles::GenericTactileData::tactile_data_valid

Definition at line 65 of file tactile_sensors.hpp.

int tactiles::GenericTactileData::which_sensor

Definition at line 69 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 Tue Oct 13 2020 03:55:41