yarp-devices
Loading...
Searching...
No Matches
roboticslab::test::JointDriver< N > Struct Template Reference

Dummy implementation of a N-axis raw motor subdevice. More...

Inheritance diagram for roboticslab::test::JointDriver< N >:
roboticslab::test::DummyPositionDirectRaw

Public Member Functions

bool getAxes (int *axes) override
 Retrieve the number of controlled axes.
Public Member Functions inherited from roboticslab::test::DummyPositionDirectRaw
bool getAxes (int *axes) override
bool setPositionRaw (int j, double ref) override
bool setPositionsRaw (int n_joint, const int *joints, const double *refs) override
bool setPositionsRaw (const double *refs) override
bool getRefPositionRaw (int joint, double *ref) override
bool getRefPositionsRaw (double *refs) override
bool getRefPositionsRaw (int n_joint, const int *joints, double *refs) override

Static Public Member Functions

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

Detailed Description

template<unsigned int N>
struct roboticslab::test::JointDriver< 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 controlled axes.

The documentation for this struct was generated from the following file:
  • tests/testYarpDeviceMapperLib.cpp