YARP
Yet Another Robot Platform
MultipleAnalogSensorsClient.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * All rights reserved.
4  *
5  * This software may be modified and distributed under the terms of the
6  * BSD-3-Clause license. See the accompanying LICENSE file for details.
7  */
8 
9 #ifndef YARP_DEV_MULTIPLEANALOGSENSORSCLIENT_MULTIPLEANALOGSENSORSCLIENT_H
10 #define YARP_DEV_MULTIPLEANALOGSENSORSCLIENT_MULTIPLEANALOGSENSORSCLIENT_H
11 
13 
15 #include "SensorStreamingData.h"
16 
17 #include <yarp/os/BufferedPort.h>
18 #include <yarp/os/Network.h>
19 #include <yarp/dev/DeviceDriver.h>
20 
21 #include <mutex>
22 
23 
25  public yarp::os::BufferedPort<SensorStreamingData>
26 {
27 public:
30  mutable std::mutex dataMutex;
31  double timeoutInSeconds{0.01};
33 
35  void onRead(SensorStreamingData &v) override;
36  void updateTimeoutStatus() const;
37 };
38 
69 {
70  SensorStreamingDataInputPort m_streamingPort;
71  yarp::os::Port m_rpcPort;
72  std::string m_localRPCPortName;
73  std::string m_localStreamingPortName;
74  std::string m_remoteRPCPortName;
75  std::string m_remoteStreamingPortName;
76  bool m_RPCConnectionActive{false};
77  bool m_StreamingConnectionActive{false};
78  bool m_externalConnection{false};
79 
80  MultipleAnalogSensorsMetadata m_RPCInterface;
81  SensorRPCData m_sensorsMetadata;
82 
83  size_t genericGetNrOfSensors(const std::vector<SensorMetadata>& metadataVector,
84  const SensorMeasurements& measurementsVector) const;
85  yarp::dev::MAS_status genericGetStatus() const;
86  bool genericGetName(const std::vector<SensorMetadata>& metadataVector, const std::string& tag,
87  size_t sens_index, std::string &name) const;
88  bool genericGetFrameName(const std::vector<SensorMetadata>& metadataVector, const std::string& tag,
89  size_t sens_index, std::string &frameName) const;
90  bool genericGetMeasure(const std::vector<SensorMetadata>& metadataVector, const std::string& tag,
91  const SensorMeasurements& measurementsVector,
92  size_t sens_index, yarp::sig::Vector& out, double& timestamp) const;
93  size_t genericGetSize(const std::vector<SensorMetadata>& metadataVector,
94  const std::string& tag, const SensorMeasurements& measurementsVector, size_t sens_index) const;
95 
96 
97 public:
98  /* DevideDriver methods */
99  bool open(yarp::os::Searchable& config) override;
100  bool close() override;
101 
102  /* IThreeAxisGyroscopes methods */
103  size_t getNrOfThreeAxisGyroscopes() const override;
104  yarp::dev::MAS_status getThreeAxisGyroscopeStatus(size_t sens_index) const override;
105  bool getThreeAxisGyroscopeName(size_t sens_index, std::string &name) const override;
106  bool getThreeAxisGyroscopeFrameName(size_t sens_index, std::string &frameName) const override;
107  bool getThreeAxisGyroscopeMeasure(size_t sens_index, yarp::sig::Vector& out, double& timestamp) const override;
108 
109  /* IThreeAxisLinearAccelerometers methods */
110  size_t getNrOfThreeAxisLinearAccelerometers() const override;
111  yarp::dev::MAS_status getThreeAxisLinearAccelerometerStatus(size_t sens_index) const override;
112  bool getThreeAxisLinearAccelerometerName(size_t sens_index, std::string &name) const override;
113  bool getThreeAxisLinearAccelerometerFrameName(size_t sens_index, std::string &frameName) const override;
114  bool getThreeAxisLinearAccelerometerMeasure(size_t sens_index, yarp::sig::Vector& out, double& timestamp) const override;
115 
116  /* IThreeAxisMagnetometers methods */
117  size_t getNrOfThreeAxisMagnetometers() const override;
118  yarp::dev::MAS_status getThreeAxisMagnetometerStatus(size_t sens_index) const override;
119  bool getThreeAxisMagnetometerName(size_t sens_index, std::string &name) const override;
120  bool getThreeAxisMagnetometerFrameName(size_t sens_index, std::string &frameName) const override;
121  bool getThreeAxisMagnetometerMeasure(size_t sens_index, yarp::sig::Vector& out, double& timestamp) const override;
122 
123  /* IPositionSensors methods */
124  size_t getNrOfPositionSensors() const override;
125  yarp::dev::MAS_status getPositionSensorStatus(size_t sens_index) const override;
126  bool getPositionSensorName(size_t sens_index, std::string& name) const override;
127  bool getPositionSensorFrameName(size_t sens_index, std::string& frameName) const override;
128  bool getPositionSensorMeasure(size_t sens_index, yarp::sig::Vector& xyz, double& timestamp) const override;
129 
130  /* IOrientationSensors methods */
131  size_t getNrOfOrientationSensors() const override;
132  yarp::dev::MAS_status getOrientationSensorStatus(size_t sens_index) const override;
133  bool getOrientationSensorName(size_t sens_index, std::string &name) const override;
134  bool getOrientationSensorFrameName(size_t sens_index, std::string &frameName) const override;
135  bool getOrientationSensorMeasureAsRollPitchYaw(size_t sens_index, yarp::sig::Vector& rpy, double& timestamp) const override;
136 
137  /* ITemperatureSensors methods */
138  size_t getNrOfTemperatureSensors() const override;
139  yarp::dev::MAS_status getTemperatureSensorStatus(size_t sens_index) const override;
140  bool getTemperatureSensorName(size_t sens_index, std::string &name) const override;
141  bool getTemperatureSensorFrameName(size_t sens_index, std::string &frameName) const override;
142  bool getTemperatureSensorMeasure(size_t sens_index, double& out, double& timestamp) const override;
143  bool getTemperatureSensorMeasure(size_t sens_index, yarp::sig::Vector& out, double& timestamp) const override;
144 
145  /* ISixAxisForceTorqueSensors */
146  size_t getNrOfSixAxisForceTorqueSensors() const override;
147  yarp::dev::MAS_status getSixAxisForceTorqueSensorStatus(size_t sens_index) const override;
148  bool getSixAxisForceTorqueSensorName(size_t sens_index, std::string &name) const override;
149  bool getSixAxisForceTorqueSensorFrameName(size_t sens_index, std::string &frame) const override;
150  bool getSixAxisForceTorqueSensorMeasure(size_t sens_index, yarp::sig::Vector& out, double& timestamp) const override;
151 
152  /* IContactLoadCellArrays */
153  size_t getNrOfContactLoadCellArrays() const override;
154  yarp::dev::MAS_status getContactLoadCellArrayStatus(size_t sens_index) const override;
155  bool getContactLoadCellArrayName(size_t sens_index, std::string &name) const override;
156  bool getContactLoadCellArrayMeasure(size_t sens_index, yarp::sig::Vector& out, double& timestamp) const override;
157  size_t getContactLoadCellArraySize(size_t sens_index) const override;
158 
159  /* IEncoderArrays */
160  size_t getNrOfEncoderArrays() const override;
161  yarp::dev::MAS_status getEncoderArrayStatus(size_t sens_index) const override;
162  bool getEncoderArrayName(size_t sens_index, std::string &name) const override;
163  bool getEncoderArrayMeasure(size_t sens_index, yarp::sig::Vector& out, double& timestamp) const override;
164  size_t getEncoderArraySize(size_t sens_index) const override;
165 
166  /* ISkinPatches */
167  size_t getNrOfSkinPatches() const override;
168  yarp::dev::MAS_status getSkinPatchStatus(size_t sens_index) const override;
169  bool getSkinPatchName(size_t sens_index, std::string &name) const override;
170  bool getSkinPatchMeasure(size_t sens_index, yarp::sig::Vector& out, double& timestamp) const override;
171  size_t getSkinPatchSize(size_t sens_index) const override;
172 };
173 
174 #endif
MultipleAnalogSensorsClient::getPositionSensorFrameName
bool getPositionSensorFrameName(size_t sens_index, std::string &frameName) const override
Get the name of the frame of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:449
SensorStreamingDataInputPort::status
yarp::dev::MAS_status status
Definition: MultipleAnalogSensorsClient.h:29
SensorStreamingDataInputPort::onRead
void onRead(SensorStreamingData &v) override
Definition: MultipleAnalogSensorsClient.cpp:20
MultipleAnalogSensorsClient::getPositionSensorName
bool getPositionSensorName(size_t sens_index, std::string &name) const override
Get the name of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:444
Network.h
MultipleAnalogSensorsClient::getSkinPatchSize
size_t getSkinPatchSize(size_t sens_index) const override
Get the size of the specified skin patch.
Definition: MultipleAnalogSensorsClient.cpp:599
yarp::os::Searchable
A base class for nested structures that can be searched.
Definition: Searchable.h:69
SensorRPCData
Definition: SensorRPCData.h:23
MultipleAnalogSensorsClient::getContactLoadCellArrayMeasure
bool getContactLoadCellArrayMeasure(size_t sens_index, yarp::sig::Vector &out, double &timestamp) const override
Get the last reading of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:537
MultipleAnalogSensorsClient::getThreeAxisLinearAccelerometerName
bool getThreeAxisLinearAccelerometerName(size_t sens_index, std::string &name) const override
Get the name of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:363
MultipleAnalogSensorsClient::getTemperatureSensorMeasure
bool getTemperatureSensorMeasure(size_t sens_index, double &out, double &timestamp) const override
Get the last reading of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:486
MultipleAnalogSensorsClient::getSkinPatchName
bool getSkinPatchName(size_t sens_index, std::string &name) const override
Get the name of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:588
MultipleAnalogSensorsClient::getEncoderArrayStatus
yarp::dev::MAS_status getEncoderArrayStatus(size_t sens_index) const override
Get the status of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:555
yarp::dev::MAS_WAITING_FOR_FIRST_READ
@ MAS_WAITING_FOR_FIRST_READ
The sensor is read through the network, and the device is waiting to receive the first measurement.
Definition: MultipleAnalogSensorsInterfaces.h:42
MultipleAnalogSensorsClient::getOrientationSensorFrameName
bool getOrientationSensorFrameName(size_t sens_index, std::string &frameName) const override
Get the name of the frame of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:422
MultipleAnalogSensorsClient::getThreeAxisMagnetometerFrameName
bool getThreeAxisMagnetometerFrameName(size_t sens_index, std::string &frameName) const override
Get the name of the frame of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:395
yarp::dev::DeviceDriver
Interface implemented by all device drivers.
Definition: DeviceDriver.h:38
MultipleAnalogSensorsClient::getSkinPatchMeasure
bool getSkinPatchMeasure(size_t sens_index, yarp::sig::Vector &out, double &timestamp) const override
Get the last reading of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:593
yarp::dev::IThreeAxisMagnetometers
Device interface to one or multiple three axis magnetometers.
Definition: MultipleAnalogSensorsInterfaces.h:165
MultipleAnalogSensorsClient::getThreeAxisGyroscopeStatus
yarp::dev::MAS_status getThreeAxisGyroscopeStatus(size_t sens_index) const override
Get the status of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:331
MultipleAnalogSensorsClient::getContactLoadCellArraySize
size_t getContactLoadCellArraySize(size_t sens_index) const override
Get the size of the specified contact load cell array.
Definition: MultipleAnalogSensorsClient.cpp:543
MultipleAnalogSensorsClient::getTemperatureSensorStatus
yarp::dev::MAS_status getTemperatureSensorStatus(size_t sens_index) const override
Get the status of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:465
yarp::dev::IThreeAxisGyroscopes
Device interface to one or multiple three axis gyroscopes.
Definition: MultipleAnalogSensorsInterfaces.h:64
yarp::dev::IOrientationSensors
Device interface to one or multiple orientation sensors, such as IMUs with on board estimation algori...
Definition: MultipleAnalogSensorsInterfaces.h:274
MultipleAnalogSensorsClient::getEncoderArrayName
bool getEncoderArrayName(size_t sens_index, std::string &name) const override
Get the name of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:560
MultipleAnalogSensorsClient::getNrOfTemperatureSensors
size_t getNrOfTemperatureSensors() const override
Get the number of temperature sensors exposed by this device.
Definition: MultipleAnalogSensorsClient.cpp:459
MultipleAnalogSensorsClient::close
bool close() override
Close the DeviceDriver.
Definition: MultipleAnalogSensorsClient.cpp:144
SensorStreamingDataInputPort::lastTimeStampReadInSeconds
double lastTimeStampReadInSeconds
Definition: MultipleAnalogSensorsClient.h:32
MultipleAnalogSensorsInterfaces.h
MultipleAnalogSensorsClient::getPositionSensorStatus
yarp::dev::MAS_status getPositionSensorStatus(size_t sens_index) const override
Get the status of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:439
MultipleAnalogSensorsClient::getThreeAxisGyroscopeFrameName
bool getThreeAxisGyroscopeFrameName(size_t sens_index, std::string &frameName) const override
Get the name of the frame of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:341
MultipleAnalogSensorsClient::getThreeAxisLinearAccelerometerStatus
yarp::dev::MAS_status getThreeAxisLinearAccelerometerStatus(size_t sens_index) const override
Get the status of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:358
MultipleAnalogSensorsClient::getThreeAxisLinearAccelerometerMeasure
bool getThreeAxisLinearAccelerometerMeasure(size_t sens_index, yarp::sig::Vector &out, double &timestamp) const override
Get the last reading of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:373
MultipleAnalogSensorsMetadata
Definition: MultipleAnalogSensorsMetadata.h:23
yarp::sig::VectorOf< double >
yarp::os::Port
A mini-server for network communication.
Definition: Port.h:50
yarp::os::BufferedPort
A mini-server for performing network communication in the background.
Definition: BufferedPort.h:64
MultipleAnalogSensorsClient::getTemperatureSensorFrameName
bool getTemperatureSensorFrameName(size_t sens_index, std::string &frameName) const override
Get the name of the frame of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:475
yarp::dev::ISkinPatches
Device interface to one or more groups (patches) of tactile sensors (skin).
Definition: MultipleAnalogSensorsInterfaces.h:569
SensorStreamingDataInputPort::updateTimeoutStatus
void updateTimeoutStatus() const
Definition: MultipleAnalogSensorsClient.cpp:28
yarp::dev::ISixAxisForceTorqueSensors
Device interface to one or multiple six axis force torque sensor.
Definition: MultipleAnalogSensorsInterfaces.h:419
MultipleAnalogSensorsClient::getThreeAxisGyroscopeName
bool getThreeAxisGyroscopeName(size_t sens_index, std::string &name) const override
Get the name of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:336
MultipleAnalogSensorsClient::getContactLoadCellArrayName
bool getContactLoadCellArrayName(size_t sens_index, std::string &name) const override
Get the name of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:532
SensorStreamingDataInputPort::receivedData
SensorStreamingData receivedData
Definition: MultipleAnalogSensorsClient.h:28
SensorMeasurements
Definition: SensorMeasurements.h:23
MultipleAnalogSensorsClient::getNrOfPositionSensors
size_t getNrOfPositionSensors() const override
Get the number of position sensors exposed by this device.
Definition: MultipleAnalogSensorsClient.cpp:433
MultipleAnalogSensorsClient
multipleanalogsensorsclient: The client side of a device exposing MultipleAnalogSensors interfaces.
Definition: MultipleAnalogSensorsClient.h:69
MultipleAnalogSensorsClient::getThreeAxisGyroscopeMeasure
bool getThreeAxisGyroscopeMeasure(size_t sens_index, yarp::sig::Vector &out, double &timestamp) const override
Get the last reading of the gyroscope.
Definition: MultipleAnalogSensorsClient.cpp:346
MultipleAnalogSensorsClient::getThreeAxisMagnetometerStatus
yarp::dev::MAS_status getThreeAxisMagnetometerStatus(size_t sens_index) const override
Get the status of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:385
MultipleAnalogSensorsClient::getNrOfContactLoadCellArrays
size_t getNrOfContactLoadCellArrays() const override
Get the number of contact load cell array exposed by this device.
Definition: MultipleAnalogSensorsClient.cpp:521
yarp::dev::IThreeAxisLinearAccelerometers
Device interface to one or multiple three axis linear accelerometers.
Definition: MultipleAnalogSensorsInterfaces.h:118
MultipleAnalogSensorsClient::getSixAxisForceTorqueSensorName
bool getSixAxisForceTorqueSensorName(size_t sens_index, std::string &name) const override
Get the name of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:505
MultipleAnalogSensorsClient::getThreeAxisMagnetometerName
bool getThreeAxisMagnetometerName(size_t sens_index, std::string &name) const override
Get the name of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:390
MultipleAnalogSensorsClient::getNrOfThreeAxisGyroscopes
size_t getNrOfThreeAxisGyroscopes() const override
Get the number of three axis gyroscopes exposed by this sensor.
Definition: MultipleAnalogSensorsClient.cpp:325
MultipleAnalogSensorsClient::getContactLoadCellArrayStatus
yarp::dev::MAS_status getContactLoadCellArrayStatus(size_t sens_index) const override
Get the status of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:527
MultipleAnalogSensorsClient::getNrOfThreeAxisMagnetometers
size_t getNrOfThreeAxisMagnetometers() const override
Get the number of magnetometers exposed by this device.
Definition: MultipleAnalogSensorsClient.cpp:379
yarp::dev::IEncoderArrays
Device interface to one or multiple arrays of encoders.
Definition: MultipleAnalogSensorsInterfaces.h:520
MultipleAnalogSensorsClient::getSixAxisForceTorqueSensorFrameName
bool getSixAxisForceTorqueSensorFrameName(size_t sens_index, std::string &frame) const override
Get the name of the frame of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:510
BufferedPort.h
MultipleAnalogSensorsClient::getSixAxisForceTorqueSensorStatus
yarp::dev::MAS_status getSixAxisForceTorqueSensorStatus(size_t sens_index) const override
Get the status of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:500
SensorStreamingData.h
MultipleAnalogSensorsClient::getSkinPatchStatus
yarp::dev::MAS_status getSkinPatchStatus(size_t sens_index) const override
Get the status of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:583
MultipleAnalogSensorsClient::getSixAxisForceTorqueSensorMeasure
bool getSixAxisForceTorqueSensorMeasure(size_t sens_index, yarp::sig::Vector &out, double &timestamp) const override
Get the last reading of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:515
MultipleAnalogSensorsClient::getNrOfEncoderArrays
size_t getNrOfEncoderArrays() const override
Get the number of encoder arrays exposed by this device.
Definition: MultipleAnalogSensorsClient.cpp:549
SensorStreamingDataInputPort::timeoutInSeconds
double timeoutInSeconds
Definition: MultipleAnalogSensorsClient.h:31
SensorStreamingDataInputPort::dataMutex
std::mutex dataMutex
Definition: MultipleAnalogSensorsClient.h:30
MultipleAnalogSensorsClient::getNrOfSkinPatches
size_t getNrOfSkinPatches() const override
Get the number of skin patches exposed by this device.
Definition: MultipleAnalogSensorsClient.cpp:577
MultipleAnalogSensorsMetadata.h
MultipleAnalogSensorsClient::getThreeAxisLinearAccelerometerFrameName
bool getThreeAxisLinearAccelerometerFrameName(size_t sens_index, std::string &frameName) const override
Get the name of the frame of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:368
SensorStreamingData
Definition: SensorStreamingData.h:23
yarp::dev::MAS_status
MAS_status
Status of a given analog sensor exposed by a multiple analog sensors interface.
Definition: MultipleAnalogSensorsInterfaces.h:37
MultipleAnalogSensorsClient::getEncoderArraySize
size_t getEncoderArraySize(size_t sens_index) const override
Get the size of the specified encoder array.
Definition: MultipleAnalogSensorsClient.cpp:571
yarp::dev::ITemperatureSensors
Device interface to one or multiple temperature sensors.
Definition: MultipleAnalogSensorsInterfaces.h:365
MultipleAnalogSensorsClient::getThreeAxisMagnetometerMeasure
bool getThreeAxisMagnetometerMeasure(size_t sens_index, yarp::sig::Vector &out, double &timestamp) const override
Get the last reading of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:400
yarp::dev::IPositionSensors
Device interface to one or multiple position sensors, such as UWB localization sensors.
Definition: MultipleAnalogSensorsInterfaces.h:216
MultipleAnalogSensorsClient::getNrOfThreeAxisLinearAccelerometers
size_t getNrOfThreeAxisLinearAccelerometers() const override
Get the number of three axis linear accelerometers exposed by this device.
Definition: MultipleAnalogSensorsClient.cpp:352
SensorStreamingDataInputPort
Definition: MultipleAnalogSensorsClient.h:26
MultipleAnalogSensorsClient::getOrientationSensorMeasureAsRollPitchYaw
bool getOrientationSensorMeasureAsRollPitchYaw(size_t sens_index, yarp::sig::Vector &rpy, double &timestamp) const override
Get the last reading of the orientation sensor as roll pitch yaw.
Definition: MultipleAnalogSensorsClient.cpp:427
MultipleAnalogSensorsClient::getNrOfSixAxisForceTorqueSensors
size_t getNrOfSixAxisForceTorqueSensors() const override
Get the number of six axis force torque sensors exposed by this device.
Definition: MultipleAnalogSensorsClient.cpp:494
MultipleAnalogSensorsClient::getOrientationSensorStatus
yarp::dev::MAS_status getOrientationSensorStatus(size_t sens_index) const override
Get the status of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:412
yarp::dev::IContactLoadCellArrays
Device interface to one or multiple contact load cell arrays.
Definition: MultipleAnalogSensorsInterfaces.h:467
MultipleAnalogSensorsClient::getOrientationSensorName
bool getOrientationSensorName(size_t sens_index, std::string &name) const override
Get the name of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:417
MultipleAnalogSensorsClient::getEncoderArrayMeasure
bool getEncoderArrayMeasure(size_t sens_index, yarp::sig::Vector &out, double &timestamp) const override
Get the last reading of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:565
MultipleAnalogSensorsClient::open
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
Definition: MultipleAnalogSensorsClient.cpp:43
MultipleAnalogSensorsClient::getNrOfOrientationSensors
size_t getNrOfOrientationSensors() const override
Get the number of orientation sensors exposed by this device.
Definition: MultipleAnalogSensorsClient.cpp:406
MultipleAnalogSensorsClient::getPositionSensorMeasure
bool getPositionSensorMeasure(size_t sens_index, yarp::sig::Vector &xyz, double &timestamp) const override
Get the last reading of the position sensor as x y z.
Definition: MultipleAnalogSensorsClient.cpp:454
MultipleAnalogSensorsClient::getTemperatureSensorName
bool getTemperatureSensorName(size_t sens_index, std::string &name) const override
Get the name of the specified sensor.
Definition: MultipleAnalogSensorsClient.cpp:470
DeviceDriver.h