#include <yarp/dev/ImplementVelocityDirect.h>
Definition at line 17 of file ImplementVelocityDirect.h.
◆ ImplementVelocityDirect()
Constructor.
- Parameters
-
y | is the pointer to the class instance inheriting from this implementation. |
Definition at line 16 of file ImplementVelocityDirect.cpp.
◆ ~ImplementVelocityDirect()
ImplementVelocityDirect::~ImplementVelocityDirect |
( |
| ) |
|
|
virtual |
◆ getAxes()
◆ getDesiredVelocity() [1/3]
◆ getDesiredVelocity() [2/3]
◆ getDesiredVelocity() [3/3]
◆ initialize()
Initialize the internal data and alloc memory.
- Parameters
-
size | is the number of controlled axes the driver deals with. |
amap | is a lookup table mapping axes onto physical drivers. |
enc | is an array containing the encoder to angles conversion factors. |
zos | is an array containing the zeros of the encoders. respect to the control/output values of the driver. |
- Returns
- true if initialized succeeded, false if it wasn't executed, or assert.
Definition at line 25 of file ImplementVelocityDirect.cpp.
◆ setDesiredVelocity() [1/3]
◆ setDesiredVelocity() [2/3]
Set the velocity of a subset of joints.
- Parameters
-
jnts | vector containing the ids of the joints to control. |
vels | vector containing the joint velocities for the required subset. |
- Returns
- true on success
Implements yarp::dev::IVelocityDirect.
Definition at line 81 of file ImplementVelocityDirect.cpp.
◆ setDesiredVelocity() [3/3]
◆ uninitialize()
bool ImplementVelocityDirect::uninitialize |
( |
| ) |
|
|
protected |
Clean up internal data and memory.
- Returns
- true if uninitialization is executed, false otherwise.
Definition at line 40 of file ImplementVelocityDirect.cpp.
◆ m_buffer_doubles
std::vector<double> yarp::dev::ImplementVelocityDirect::m_buffer_doubles |
|
protected |
◆ m_buffer_ints
std::vector<int> yarp::dev::ImplementVelocityDirect::m_buffer_ints |
|
protected |
◆ m_helper
void* yarp::dev::ImplementVelocityDirect::m_helper =nullptr |
|
protected |
◆ m_iVelocityDirectRaw
The documentation for this class was generated from the following files: