47 if (!read_ThreeAxisGyroscopes(reader)) {
50 if (!read_ThreeAxisLinearAccelerometers(reader)) {
53 if (!read_ThreeAxisMagnetometers(reader)) {
56 if (!read_OrientationSensors(reader)) {
59 if (!read_TemperatureSensors(reader)) {
62 if (!read_SixAxisForceTorqueSensors(reader)) {
65 if (!read_ContactLoadCellArrays(reader)) {
68 if (!read_EncoderArrays(reader)) {
71 if (!read_SkinPatches(reader)) {
74 if (!read_PositionSensors(reader)) {
77 if (!read_LinearVelocitySensors(reader)) {
80 if (!read_ThreeAxisAngularAccelerometers(reader)) {
105 if (!write_ThreeAxisGyroscopes(writer)) {
108 if (!write_ThreeAxisLinearAccelerometers(writer)) {
111 if (!write_ThreeAxisMagnetometers(writer)) {
114 if (!write_OrientationSensors(writer)) {
117 if (!write_TemperatureSensors(writer)) {
120 if (!write_SixAxisForceTorqueSensors(writer)) {
123 if (!write_ContactLoadCellArrays(writer)) {
126 if (!write_EncoderArrays(writer)) {
129 if (!write_SkinPatches(writer)) {
132 if (!write_PositionSensors(writer)) {
135 if (!write_LinearVelocitySensors(writer)) {
138 if (!write_ThreeAxisAngularAccelerometers(writer)) {
154 if (!
write(writer)) {
@ ThreeAxisAngularAccelerometers
@ ThreeAxisLinearAccelerometers
@ SixAxisForceTorqueSensors
SensorMeasurements EncoderArrays
SensorMeasurements PositionSensors
SensorMeasurements SixAxisForceTorqueSensors
bool read(yarp::os::idl::WireReader &reader) override
SensorMeasurements LinearVelocitySensors
SensorMeasurements ContactLoadCellArrays
SensorMeasurements SkinPatches
SensorMeasurements OrientationSensors
SensorMeasurements TemperatureSensors
bool write(const yarp::os::idl::WireWriter &writer) const override
SensorMeasurements ThreeAxisMagnetometers
SensorMeasurements ThreeAxisGyroscopes
std::string toString() const
SensorStreamingData()=default
SensorMeasurements ThreeAxisLinearAccelerometers
SensorMeasurements ThreeAxisAngularAccelerometers
A simple collection of objects that can be described and transmitted in a portable way.
std::string toString() const override
Gives a human-readable textual representation of the bottle.
An interface for reading from a network connection.
An interface for writing to a network connection.
static bool copyPortable(const PortWriter &writer, PortReader &reader)
Copy one portable to another, via writing and reading.
IDL-friendly connection reader.
bool readNested(WirePortable &obj)
bool read(WirePortable &obj)
IDL-friendly connection writer.
bool write(const WirePortable &obj) const
bool writeListHeader(int len) const
bool writeNested(const WirePortable &obj) const
For streams capable of holding different kinds of content, check what they actually have.