|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
25 #ifndef YARP_ROSMSG_trajectory_msgs_MultiDOFJointTrajectory_h
26 #define YARP_ROSMSG_trajectory_msgs_MultiDOFJointTrajectory_h
45 std::vector<yarp::rosmsg::trajectory_msgs::MultiDOFJointTrajectoryPoint>
points;
76 for (
int i=0; i<len; i++) {
87 for (
int i=0; i<len; i++) {
115 for (
int i=0; i<len; i++) {
129 for (
int i=0; i<len; i++) {
161 for (
size_t i=0; i<
points.size(); i++) {
191 for (
size_t i=0; i<
points.size(); i++) {
214 static constexpr
const char*
typeName =
"trajectory_msgs/MultiDOFJointTrajectory";
217 static constexpr
const char*
typeChecksum =
"ef145a45a5f47b77b7f5cdde4b16c942";
221 # The header is used to specify the coordinate frame and the reference time for the trajectory durations\n\
224 # A representation of a multi-dof joint trajectory (each point is a transformation)\n\
225 # Each point along the trajectory will include an array of positions/velocities/accelerations\n\
226 # that has the same length as the array of joint names, and has the same order of joints as \n\
227 # the joint names array.\n\
229 string[] joint_names\n\
230 MultiDOFJointTrajectoryPoint[] points\n\
232 ================================================================================\n\
233 MSG: std_msgs/Header\n\
234 # Standard metadata for higher-level stamped data types.\n\
235 # This is generally used to communicate timestamped data \n\
236 # in a particular coordinate frame.\n\
238 # sequence ID: consecutively increasing ID \n\
240 #Two-integer timestamp that is expressed as:\n\
241 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
242 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
243 # time-handling sugar is provided by the client library\n\
245 #Frame this data is associated with\n\
250 ================================================================================\n\
251 MSG: trajectory_msgs/MultiDOFJointTrajectoryPoint\n\
252 # Each multi-dof joint can specify a transform (up to 6 DOF)\n\
253 geometry_msgs/Transform[] transforms\n\
255 # There can be a velocity specified for the origin of the joint \n\
256 geometry_msgs/Twist[] velocities\n\
258 # There can be an acceleration specified for the origin of the joint \n\
259 geometry_msgs/Twist[] accelerations\n\
261 duration time_from_start\n\
263 ================================================================================\n\
264 MSG: geometry_msgs/Transform\n\
265 # This represents the transform between two coordinate frames in free space.\n\
267 Vector3 translation\n\
268 Quaternion rotation\n\
270 ================================================================================\n\
271 MSG: geometry_msgs/Vector3\n\
272 # This represents a vector in free space. \n\
273 # It is only meant to represent a direction. Therefore, it does not\n\
274 # make sense to apply a translation to it (e.g., when applying a \n\
275 # generic rigid transformation to a Vector3, tf2 will only apply the\n\
276 # rotation). If you want your data to be translatable too, use the\n\
277 # geometry_msgs/Point message instead.\n\
282 ================================================================================\n\
283 MSG: geometry_msgs/Quaternion\n\
284 # This represents an orientation in free space in quaternion form.\n\
291 ================================================================================\n\
292 MSG: geometry_msgs/Twist\n\
293 # This expresses velocity in free space broken into its linear and angular parts.\n\
311 #endif // YARP_ROSMSG_trajectory_msgs_MultiDOFJointTrajectory_h
MultiDOFJointTrajectory()
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
yarp::os::idl::BareStyle< yarp::rosmsg::trajectory_msgs::MultiDOFJointTrajectory > rosStyle
virtual bool read(yarp::os::idl::WireReader &reader)
virtual bool isBareMode() const =0
Check if the connection is bare mode.
#define BOTTLE_TAG_STRING
static constexpr const char * typeChecksum
bool readBottle(yarp::os::ConnectionReader &connection) override
yarp::rosmsg::std_msgs::Header header
bool writeBare(yarp::os::ConnectionWriter &connection) const override
bool readBare(yarp::os::ConnectionReader &connection) override
virtual bool isError() const =0
std::vector< std::string > joint_names
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)
yarp::os::idl::BottleStyle< yarp::rosmsg::trajectory_msgs::MultiDOFJointTrajectory > bottleStyle
An interface for writing to a network connection.
virtual bool isError() const =0
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
yarp::os::Type getType() const override
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 * typeText
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.
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.
static constexpr const char * typeName
The main, catch-all namespace for YARP.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
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).
std::vector< yarp::rosmsg::trajectory_msgs::MultiDOFJointTrajectoryPoint > points
virtual bool write(const yarp::os::idl::WireWriter &writer) const