22#ifndef YARP_ROSMSG_trajectory_msgs_MultiDOFJointTrajectory_h
23#define YARP_ROSMSG_trajectory_msgs_MultiDOFJointTrajectory_h
42 std::vector<yarp::rosmsg::trajectory_msgs::MultiDOFJointTrajectoryPoint>
points;
73 for (
int i=0; i<len; i++) {
84 for (
int i=0; i<len; i++) {
112 for (
int i=0; i<len; i++) {
126 for (
int i=0; i<len; i++) {
158 for (
size_t i=0; i<
points.size(); i++) {
188 for (
size_t i=0; i<
points.size(); i++) {
211 static constexpr const char*
typeName =
"trajectory_msgs/MultiDOFJointTrajectory";
214 static constexpr const char*
typeChecksum =
"ef145a45a5f47b77b7f5cdde4b16c942";
218# The header is used to specify the coordinate frame and the reference time for the trajectory durations\n\
221# A representation of a multi-dof joint trajectory (each point is a transformation)\n\
222# Each point along the trajectory will include an array of positions/velocities/accelerations\n\
223# that has the same length as the array of joint names, and has the same order of joints as \n\
224# the joint names array.\n\
226string[] joint_names\n\
227MultiDOFJointTrajectoryPoint[] points\n\
229================================================================================\n\
230MSG: std_msgs/Header\n\
231# Standard metadata for higher-level stamped data types.\n\
232# This is generally used to communicate timestamped data \n\
233# in a particular coordinate frame.\n\
235# sequence ID: consecutively increasing ID \n\
237#Two-integer timestamp that is expressed as:\n\
238# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
239# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
240# time-handling sugar is provided by the client library\n\
242#Frame this data is associated with\n\
247================================================================================\n\
248MSG: trajectory_msgs/MultiDOFJointTrajectoryPoint\n\
249# Each multi-dof joint can specify a transform (up to 6 DOF)\n\
250geometry_msgs/Transform[] transforms\n\
252# There can be a velocity specified for the origin of the joint \n\
253geometry_msgs/Twist[] velocities\n\
255# There can be an acceleration specified for the origin of the joint \n\
256geometry_msgs/Twist[] accelerations\n\
258duration time_from_start\n\
260================================================================================\n\
261MSG: geometry_msgs/Transform\n\
262# This represents the transform between two coordinate frames in free space.\n\
264Vector3 translation\n\
265Quaternion rotation\n\
267================================================================================\n\
268MSG: geometry_msgs/Vector3\n\
269# This represents a vector in free space. \n\
270# It is only meant to represent a direction. Therefore, it does not\n\
271# make sense to apply a translation to it (e.g., when applying a \n\
272# generic rigid transformation to a Vector3, tf2 will only apply the\n\
273# rotation). If you want your data to be translatable too, use the\n\
274# geometry_msgs/Point message instead.\n\
279================================================================================\n\
280MSG: geometry_msgs/Quaternion\n\
281# This represents an orientation in free space in quaternion form.\n\
288================================================================================\n\
289MSG: geometry_msgs/Twist\n\
290# This expresses velocity in free space broken into its linear and angular parts.\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.
bool readBare(yarp::os::ConnectionReader &connection) override
static constexpr const char * typeText
yarp::os::Type getType() const override
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool readBottle(yarp::os::ConnectionReader &connection) override
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeBare(yarp::os::ConnectionWriter &connection) const override
yarp::os::idl::BottleStyle< yarp::rosmsg::trajectory_msgs::MultiDOFJointTrajectory > bottleStyle
static constexpr const char * typeChecksum
static constexpr const char * typeName
yarp::rosmsg::std_msgs::Header header
yarp::os::idl::BareStyle< yarp::rosmsg::trajectory_msgs::MultiDOFJointTrajectory > rosStyle
std::vector< std::string > joint_names
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
MultiDOFJointTrajectory()
std::vector< yarp::rosmsg::trajectory_msgs::MultiDOFJointTrajectoryPoint > points
The main, catch-all namespace for YARP.