Control board, encoder interface. More...
#include <yarp/dev/IEncoders.h>
Inheritance diagram for yarp::dev::IEncodersRaw:Public Member Functions | |
| virtual | ~IEncodersRaw () |
| Destructor. | |
| virtual yarp::dev::ReturnValue | getAxes (size_t &ax)=0 |
| Get the number of controlled axes. | |
| virtual yarp::dev::ReturnValue | resetEncoderRaw (int j)=0 |
| Reset encoder, single joint. | |
| virtual yarp::dev::ReturnValue | resetEncodersRaw ()=0 |
| Reset encoders. | |
| virtual yarp::dev::ReturnValue | setEncoderRaw (int j, double val)=0 |
| Set the value of the encoder for a given joint. | |
| virtual yarp::dev::ReturnValue | setEncodersRaw (const double *vals)=0 |
| Set the value of all encoders. | |
| virtual yarp::dev::ReturnValue | getEncoderRaw (int j, double *v)=0 |
| Read the value of an encoder. | |
| virtual yarp::dev::ReturnValue | getEncodersRaw (double *encs)=0 |
| Read the position of all axes. | |
| virtual yarp::dev::ReturnValue | getEncoderSpeedRaw (int j, double *sp)=0 |
| Read the instantaneous speed of an axis. | |
| virtual yarp::dev::ReturnValue | getEncoderSpeedsRaw (double *spds)=0 |
| Read the instantaneous acceleration of an axis. | |
| virtual yarp::dev::ReturnValue | getEncoderAccelerationRaw (int j, double *spds)=0 |
| Read the instantaneous acceleration of an axis. | |
| virtual yarp::dev::ReturnValue | getEncoderAccelerationsRaw (double *accs)=0 |
| Read the instantaneous acceleration of all axes. | |
Control board, encoder interface.
Definition at line 23 of file IEncoders.h.
|
inlinevirtual |
Destructor.
Definition at line 29 of file IEncoders.h.
|
pure virtual |
Get the number of controlled axes.
This command asks the number of controlled axes for the current physical interface.
Implemented in FakeLaserWithMotor, FakeMotionControl, FakeMotionControlMicro, and yarp::dev::StubImplEncodersRaw.
|
pure virtual |
Read the instantaneous acceleration of an axis.
| j | axis number |
| spds | pointer to the array that will contain the output |
Implemented in FakeLaserWithMotor, FakeMotionControl, FakeMotionControlMicro, and yarp::dev::StubImplEncodersRaw.
|
pure virtual |
Read the instantaneous acceleration of all axes.
| accs | pointer to the array that will contain the output |
Implemented in FakeLaserWithMotor, FakeMotionControl, FakeMotionControlMicro, and yarp::dev::StubImplEncodersRaw.
|
pure virtual |
Read the value of an encoder.
| j | encoder number |
| v | pointer to storage for the return value |
Implemented in FakeLaserWithMotor, FakeMotionControl, FakeMotionControlMicro, and yarp::dev::StubImplEncodersRaw.
|
pure virtual |
Read the instantaneous speed of an axis.
| j | axis number |
| sp | pointer to storage for the output |
Implemented in FakeLaserWithMotor, FakeMotionControl, FakeMotionControlMicro, and yarp::dev::StubImplEncodersRaw.
|
pure virtual |
Read the instantaneous acceleration of an axis.
| spds | pointer to storage for the output values |
Implemented in FakeLaserWithMotor, FakeMotionControl, FakeMotionControlMicro, and yarp::dev::StubImplEncodersRaw.
|
pure virtual |
Read the position of all axes.
| encs | pointer to the array that will contain the output |
Implemented in FakeLaserWithMotor, FakeMotionControl, FakeMotionControlMicro, and yarp::dev::StubImplEncodersRaw.
|
pure virtual |
Reset encoder, single joint.
Set the encoder value to zero
| j | encoder number |
Implemented in FakeLaserWithMotor, FakeMotionControl, FakeMotionControlMicro, and yarp::dev::StubImplEncodersRaw.
|
pure virtual |
Reset encoders.
Set the encoders value to zero
Implemented in FakeLaserWithMotor, FakeMotionControl, FakeMotionControlMicro, and yarp::dev::StubImplEncodersRaw.
|
pure virtual |
Set the value of the encoder for a given joint.
| j | encoder number |
| val | new value |
Implemented in FakeLaserWithMotor, FakeMotionControl, FakeMotionControlMicro, and yarp::dev::StubImplEncodersRaw.
|
pure virtual |
Set the value of all encoders.
| vals | pointer to the new values |
Implemented in FakeLaserWithMotor, FakeMotionControl, FakeMotionControlMicro, and yarp::dev::StubImplEncodersRaw.