YARP
Yet Another Robot Platform
ControlBoardWrapperEncodersTimed.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3  * SPDX-License-Identifier: BSD-3-Clause
4  */
5 
6 #ifndef YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERENCODERSTIMED_H
7 #define YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERENCODERSTIMED_H
8 
10 
12 
14  virtual public ControlBoardWrapperCommon,
16 {
17 public:
18  inline bool getAxes(int *ax) override { return ControlBoardWrapperCommon::getAxes(ax); }
19  bool resetEncoder(int j) override;
20  bool resetEncoders() override;
21  bool setEncoder(int j, double val) override;
22  bool setEncoders(const double* vals) override;
23  bool getEncoder(int j, double* v) override;
24  bool getEncoders(double* encs) override;
25  bool getEncoderSpeed(int j, double* sp) override;
26  bool getEncoderSpeeds(double* spds) override;
27  bool getEncoderAcceleration(int j, double* acc) override;
28  bool getEncoderAccelerations(double* accs) override;
29  bool getEncodersTimed(double* encs, double* t) override;
30  bool getEncoderTimed(int j, double* v, double* t) override;
31 };
32 
33 #endif // YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERENCODERSTIMED_H
float t
bool getEncoderAccelerations(double *accs) override
Read the instantaneous acceleration of all axes.
bool setEncoders(const double *vals) override
Set the value of all encoders.
bool getEncoderAcceleration(int j, double *acc) override
Read the instantaneous acceleration of an axis.
bool setEncoder(int j, double val) override
Set the value of the encoder for a given joint.
bool getAxes(int *ax) override
Get the number of controlled axes.
bool getEncoderSpeed(int j, double *sp) override
Read the istantaneous speed of an axis.
bool getEncoderSpeeds(double *spds) override
Read the instantaneous speed of all axes.
bool getEncoder(int j, double *v) override
Read the value of an encoder.
bool getEncoders(double *encs) override
Read the position of all axes.
bool getEncoderTimed(int j, double *v, double *t) override
Read the instantaneous acceleration of all axes.
bool resetEncoder(int j) override
Reset encoder, single joint.
bool getEncodersTimed(double *encs, double *t) override
Read the instantaneous acceleration of all axes.
Control board, extend encoder interface with timestamps.