#include <tactile_sensors.hpp>
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 |
Definition at line 42 of file tactile_sensors.hpp.
tactiles::GenericTactileData::GenericTactileData | ( | ) | [inline] |
Definition at line 45 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 47 of file tactile_sensors.hpp.
virtual tactiles::GenericTactileData::~GenericTactileData | ( | ) | [inline, virtual] |
Definition at line 59 of file tactile_sensors.hpp.
double tactiles::GenericTactileData::convertToInt | ( | std::string const & | s | ) | [inline] |
Definition at line 129 of file tactile_sensors.hpp.
virtual std::string tactiles::GenericTactileData::get_software_version | ( | ) | [inline, virtual] |
Formats the software version for the diagnostics.
Reimplemented in tactiles::PST3Data.
Definition at line 111 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.
Definition at line 79 of file tactile_sensors.hpp.
Definition at line 65 of file tactile_sensors.hpp.
Definition at line 125 of file tactile_sensors.hpp.
Definition at line 64 of file tactile_sensors.hpp.
Definition at line 66 of file tactile_sensors.hpp.
Definition at line 68 of file tactile_sensors.hpp.
Definition at line 70 of file tactile_sensors.hpp.
Definition at line 69 of file tactile_sensors.hpp.
Definition at line 59 of file tactile_sensors.hpp.
Definition at line 63 of file tactile_sensors.hpp.