YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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 yarp::dev::ReturnValue getEncodersTimedRaw(double *encs, double *stamps)=0;
37
45 virtual yarp::dev::ReturnValue getEncoderTimedRaw(int j, double *encs, double *stamp)=0;
46};
47
54{
55public:
59 virtual ~IEncodersTimed() {}
60
67 virtual yarp::dev::ReturnValue getEncodersTimed(double *encs, double *time)=0;
68
76 virtual yarp::dev::ReturnValue getEncoderTimed(int j, double *encs, double *time)=0;
77};
78
79
80#endif // YARP_DEV_IENCODERSTIMED_H
Control board, encoder interface.
Definition IEncoders.h:24
Control board, extend encoder raw interface adding timestamps.
virtual ~IEncodersTimedRaw()
Destructor.
virtual yarp::dev::ReturnValue getEncoderTimedRaw(int j, double *encs, double *stamp)=0
Read the instantaneous acceleration of all axes.
virtual yarp::dev::ReturnValue getEncodersTimedRaw(double *encs, double *stamps)=0
Read the instantaneous acceleration of all axes.
Control board, extend encoder interface with timestamps.
virtual yarp::dev::ReturnValue getEncoderTimed(int j, double *encs, double *time)=0
Read the instantaneous acceleration of all axes.
virtual ~IEncodersTimed()
Destructor.
virtual yarp::dev::ReturnValue getEncodersTimed(double *encs, double *time)=0
Read the instantaneous acceleration of all axes.
Control board, encoder interface.
Definition IEncoders.h:117
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