21#ifndef YARP_ROSMSG_trajectory_msgs_JointTrajectoryPoint_h
22#define YARP_ROSMSG_trajectory_msgs_JointTrajectoryPoint_h
41 std::vector<yarp::conf::float64_t>
effort;
123 for (
int i=0; i<len; i++) {
133 for (
int i=0; i<len; i++) {
143 for (
int i=0; i<len; i++) {
153 for (
int i=0; i<len; i++) {
214 for (
size_t i=0; i<
positions.size(); i++) {
235 for (
size_t i=0; i<
effort.size(); i++) {
261 static constexpr const char*
typeName =
"trajectory_msgs/JointTrajectoryPoint";
264 static constexpr const char*
typeChecksum =
"f3cd1e1c4d320c79d6985c904ae5dcd3";
268# Each trajectory point specifies either positions[, velocities[, accelerations]]\n\
269# or positions[, effort] for the trajectory to be executed.\n\
270# All specified values are in the same order as the joint names in JointTrajectory.msg\n\
272float64[] positions\n\
273float64[] velocities\n\
274float64[] accelerations\n\
276duration time_from_start\n\
#define BOTTLE_TAG_FLOAT64
An interface for reading from a network connection.
virtual bool expectBlock(char *data, size_t len)=0
Read a block of data from the network connection.
virtual bool isBareMode() const =0
Check if the connection is bare mode.
virtual std::int32_t expectInt32()=0
Read a 32-bit integer from the network connection.
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
virtual bool isError() const =0
virtual yarp::conf::float64_t expectFloat64()=0
Read a 64-bit floating point number from the network connection.
An interface for writing to a network connection.
virtual bool isError() const =0
virtual bool isBareMode() const =0
Check if the connection is bare mode.
virtual void appendExternalBlock(const char *data, size_t len)=0
Send a block of data to the network connection, without making a copy.
virtual bool convertTextMode()=0
Converts a standard description in binary into a textual description, if the connection is in text-mo...
virtual void appendInt32(std::int32_t data)=0
Send a representation of a 32-bit integer to the network connection.
virtual void appendFloat64(yarp::conf::float64_t data)=0
Send a representation of a 64-bit floating point number to the network connection.
static Type byName(const char *name)
Type & addProperty(const char *key, const Value &val)
A single value (typically within a Bottle).
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
virtual bool read(yarp::os::idl::WireReader &reader)
virtual bool write(const yarp::os::idl::WireWriter &writer) const
IDL-friendly connection reader.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
bool writeBare(yarp::os::ConnectionWriter &connection) const override
static constexpr const char * typeName
yarp::os::idl::BottleStyle< yarp::rosmsg::trajectory_msgs::JointTrajectoryPoint > bottleStyle
static constexpr const char * typeText
bool readBare(yarp::os::ConnectionReader &connection) override
yarp::rosmsg::TickDuration time_from_start
yarp::os::idl::BareStyle< yarp::rosmsg::trajectory_msgs::JointTrajectoryPoint > rosStyle
static constexpr const char * typeChecksum
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
std::vector< yarp::conf::float64_t > positions
bool readBottle(yarp::os::ConnectionReader &connection) override
std::vector< yarp::conf::float64_t > accelerations
std::vector< yarp::conf::float64_t > velocities
yarp::os::Type getType() const override
std::vector< yarp::conf::float64_t > effort
The main, catch-all namespace for YARP.