yarp-devices
Public Member Functions | Static Public Member Functions | List of all members
roboticslab::test::SensorDriver< N > Struct Template Reference

Dummy implementation of a N-component sensor subdevice. More...

Inheritance diagram for roboticslab::test::SensorDriver< N >:
roboticslab::test::DummySixAxisForceTorqueSensors

Public Member Functions

std::size_t getNrOfSixAxisForceTorqueSensors () const override
 Retrieve the number of connected sensors.
 
- Public Member Functions inherited from roboticslab::test::DummySixAxisForceTorqueSensors
std::size_t getNrOfSixAxisForceTorqueSensors () const override
 
yarp::dev::MAS_status getSixAxisForceTorqueSensorStatus (std::size_t sens_index) const
 
bool getSixAxisForceTorqueSensorName (std::size_t sens_index, std::string &name) const
 
bool getSixAxisForceTorqueSensorFrameName (std::size_t sens_index, std::string &frameName) const
 
bool getSixAxisForceTorqueSensorMeasure (std::size_t sens_index, yarp::sig::Vector &out, double &timestamp) const
 

Static Public Member Functions

static const std::string name ()
 Generate a dummy name that identifies this device given the number of sensors.
 

Detailed Description

template<unsigned int N>
struct roboticslab::test::SensorDriver< N >

This device provides utilities that help create static instances of itself via YARP device registry, thus avoiding the need of prior installation and consequent lookup in order to use them.

Template Parameters
NNumber of connected sensors.

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