|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
24 #ifndef YARP_ROSMSG_trajectory_msgs_JointTrajectoryPoint_h
25 #define YARP_ROSMSG_trajectory_msgs_JointTrajectoryPoint_h
44 std::vector<yarp::conf::float64_t>
effort;
126 for (
int i=0; i<len; i++) {
136 for (
int i=0; i<len; i++) {
146 for (
int i=0; i<len; i++) {
156 for (
int i=0; i<len; i++) {
217 for (
size_t i=0; i<
positions.size(); i++) {
238 for (
size_t i=0; i<
effort.size(); i++) {
264 static constexpr
const char*
typeName =
"trajectory_msgs/JointTrajectoryPoint";
267 static constexpr
const char*
typeChecksum =
"f3cd1e1c4d320c79d6985c904ae5dcd3";
271 # Each trajectory point specifies either positions[, velocities[, accelerations]]\n\
272 # or positions[, effort] for the trajectory to be executed.\n\
273 # All specified values are in the same order as the joint names in JointTrajectory.msg\n\
275 float64[] positions\n\
276 float64[] velocities\n\
277 float64[] accelerations\n\
279 duration time_from_start\n\
295 #endif // YARP_ROSMSG_trajectory_msgs_JointTrajectoryPoint_h
std::vector< yarp::conf::float64_t > velocities
virtual void appendFloat64(yarp::conf::float64_t data)=0
Send a representation of a 64-bit floating point number to the network connection.
yarp::rosmsg::TickDuration time_from_start
virtual bool read(yarp::os::idl::WireReader &reader)
virtual bool isBareMode() const =0
Check if the connection is bare mode.
std::vector< yarp::conf::float64_t > effort
yarp::os::Type getType() const override
static constexpr const char * typeText
bool readBare(yarp::os::ConnectionReader &connection) override
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
std::vector< yarp::conf::float64_t > accelerations
virtual yarp::conf::float64_t expectFloat64()=0
Read a 64-bit floating point number from the network connection.
virtual bool isError() const =0
static Type byName(const char *name)
virtual std::int32_t expectInt32()=0
Read a 32-bit integer from the network connection.
Type & addProperty(const char *key, const Value &val)
An interface for writing to a network connection.
virtual bool isError() const =0
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
static constexpr const char * typeName
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
virtual bool isBareMode() const =0
Check if the connection is bare mode.
std::vector< yarp::conf::float64_t > positions
bool writeBare(yarp::os::ConnectionWriter &connection) const override
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.
IDL-friendly connection reader.
An interface for reading from a network connection.
#define BOTTLE_TAG_FLOAT64
yarp::os::idl::BareStyle< yarp::rosmsg::trajectory_msgs::JointTrajectoryPoint > rosStyle
yarp::os::idl::BottleStyle< yarp::rosmsg::trajectory_msgs::JointTrajectoryPoint > bottleStyle
The main, catch-all namespace for YARP.
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 expectBlock(char *data, size_t len)=0
Read a block of data from the network connection.
A single value (typically within a Bottle).
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * typeChecksum
bool readBottle(yarp::os::ConnectionReader &connection) override
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 read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool write(const yarp::os::idl::WireWriter &writer) const