14 #ifndef YARP_ROSMSG_trajectory_msgs_JointTrajectory_h
15 #define YARP_ROSMSG_trajectory_msgs_JointTrajectory_h
34 std::vector<yarp::rosmsg::trajectory_msgs::JointTrajectoryPoint>
points;
65 for (
int i=0; i<len; i++) {
76 for (
int i=0; i<len; i++) {
104 for (
int i=0; i<len; i++) {
118 for (
int i=0; i<len; i++) {
150 for (
size_t i=0; i<
points.size(); i++) {
180 for (
size_t i=0; i<
points.size(); i++) {
203 static constexpr
const char*
typeName =
"trajectory_msgs/JointTrajectory";
206 static constexpr
const char*
typeChecksum =
"65b4f94a94d1ed67169da35a02f33d3f";
211 string[] joint_names\n\
212 JointTrajectoryPoint[] points\n\
213 ================================================================================\n\
214 MSG: std_msgs/Header\n\
215 # Standard metadata for higher-level stamped data types.\n\
216 # This is generally used to communicate timestamped data \n\
217 # in a particular coordinate frame.\n\
219 # sequence ID: consecutively increasing ID \n\
221 #Two-integer timestamp that is expressed as:\n\
222 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
223 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
224 # time-handling sugar is provided by the client library\n\
226 #Frame this data is associated with\n\
231 ================================================================================\n\
232 MSG: trajectory_msgs/JointTrajectoryPoint\n\
233 # Each trajectory point specifies either positions[, velocities[, accelerations]]\n\
234 # or positions[, effort] for the trajectory to be executed.\n\
235 # All specified values are in the same order as the joint names in JointTrajectory.msg\n\
237 float64[] positions\n\
238 float64[] velocities\n\
239 float64[] accelerations\n\
241 duration time_from_start\n\
#define BOTTLE_TAG_STRING
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
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.
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.
std::vector< yarp::rosmsg::trajectory_msgs::JointTrajectoryPoint > points
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
bool writeBare(yarp::os::ConnectionWriter &connection) const override
bool readBottle(yarp::os::ConnectionReader &connection) override
std::vector< std::string > joint_names
bool readBare(yarp::os::ConnectionReader &connection) override
yarp::os::idl::BottleStyle< yarp::rosmsg::trajectory_msgs::JointTrajectory > bottleStyle
static constexpr const char * typeChecksum
static constexpr const char * typeText
yarp::rosmsg::std_msgs::Header header
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * typeName
yarp::os::idl::BareStyle< yarp::rosmsg::trajectory_msgs::JointTrajectory > rosStyle
yarp::os::Type getType() const override
The main, catch-all namespace for YARP.