18 const double vel_theta) :
29 if (!read_vel_x(reader)) {
32 if (!read_vel_y(reader)) {
35 if (!read_vel_theta(reader)) {
60 if (!write_vel_x(writer)) {
63 if (!write_vel_y(writer)) {
66 if (!write_vel_theta(writer)) {
double vel_theta
angular velocity of the robot [deg/s]
double vel_y
velocity of the robot [m/s]
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(const yarp::os::idl::WireWriter &writer) const override
bool read(yarp::os::idl::WireReader &reader) override
MobileBaseVelocity()=default
std::string toString() const
double vel_x
velocity of the robot [m/s]
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 readFloat64(yarp::conf::float64_t &x)
IDL-friendly connection writer.
bool writeListHeader(int len) const
bool writeFloat64(yarp::conf::float64_t x, bool skip_tag=false) const
For streams capable of holding different kinds of content, check what they actually have.