yarp-devices
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Jr3Pci Class Reference

Implementation for the JR3 sensor (PCi board).

#include <Jr3Pci.hpp>

Inheritance diagram for Jr3Pci:
Jr3Pci_ParamsParser

Public Member Functions

bool open (yarp::os::Searchable &config) override
 
bool close () override
 
std::size_t getNrOfSixAxisForceTorqueSensors () const override
 
yarp::dev::MAS_status getSixAxisForceTorqueSensorStatus (std::size_t sens_index) const override
 
bool getSixAxisForceTorqueSensorName (std::size_t sens_index, std::string &name) const override
 
bool getSixAxisForceTorqueSensorFrameName (std::size_t sens_index, std::string &name) const override
 
bool getSixAxisForceTorqueSensorMeasure (std::size_t sens_index, yarp::sig::Vector &out, double &timestamp) const override
 
- Public Member Functions inherited from Jr3Pci_ParamsParser
bool parseParams (const yarp::os::Searchable &config) override
 
std::string getDeviceClassName () const override
 
std::string getDeviceName () const override
 
std::string getDocumentationOfDeviceParams () const override
 
std::vector< std::string > getListOfParams () const override
 

Private Member Functions

void loadFilters (int id)
 
bool calibrateSensor ()
 
bool calibrateChannel (int ch)
 

Private Attributes

int fd {0}
 
force_array fs [4]
 
unsigned long int filters [4]
 

Additional Inherited Members

- Public Attributes inherited from Jr3Pci_ParamsParser
const std::string m_device_classname = {"Jr3Pci"}
 
const std::string m_device_name = {"Jr3Pci"}
 
bool m_parser_is_strict = false
 
const parser_version_type m_parser_version = {}
 
const std::string m_names_defaultValue = {"(ch0 ch1 ch2 ch3)"}
 
const std::string m_filter_defaultValue = {"0"}
 
const std::string m_levogyrate_defaultValue = {"false"}
 
std::vector< std::string > m_names = { }
 
int m_filter = {0}
 
bool m_levogyrate = {false}
 

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