YARP
Yet Another Robot Platform
IEncodersTimed.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_IENCODERSTIMED_H
7#define YARP_DEV_IENCODERSTIMED_H
8
10#include <yarp/dev/api.h>
11
12namespace yarp::dev {
13class IEncodersTimed;
14class IEncodersTimedRaw;
15}
16
23{
24public:
28 virtual ~IEncodersTimedRaw() {}
29
36 virtual bool getEncodersTimedRaw(double *encs, double *stamps)=0;
37
45 virtual bool getEncoderTimedRaw(int j, double *encs, double *stamp)=0;
46};
47
54{
55public:
59 virtual ~IEncodersTimed() {}
60
67 virtual bool getEncodersTimed(double *encs, double *time)=0;
68
76 virtual bool getEncoderTimed(int j, double *encs, double *time)=0;
77};
78
79
80#endif // YARP_DEV_IENCODERSTIMED_H
Control board, encoder interface.
Definition: IEncoders.h:23
Control board, extend encoder raw interface adding timestamps.
virtual ~IEncodersTimedRaw()
Destructor.
virtual bool getEncoderTimedRaw(int j, double *encs, double *stamp)=0
Read the instantaneous acceleration of all axes.
virtual bool getEncodersTimedRaw(double *encs, double *stamps)=0
Read the instantaneous acceleration of all axes.
Control board, extend encoder interface with timestamps.
virtual bool getEncodersTimed(double *encs, double *time)=0
Read the instantaneous acceleration of all axes.
virtual ~IEncodersTimed()
Destructor.
virtual bool getEncoderTimed(int j, double *encs, double *time)=0
Read the instantaneous acceleration of all axes.
Control board, encoder interface.
Definition: IEncoders.h:116
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_dev_API
Definition: api.h:18