|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
17 #ifndef YARP_ROSMSG_trajectory_msgs_JointTrajectory_h
18 #define YARP_ROSMSG_trajectory_msgs_JointTrajectory_h
37 std::vector<yarp::rosmsg::trajectory_msgs::JointTrajectoryPoint>
points;
68 for (
int i=0; i<len; i++) {
79 for (
int i=0; i<len; i++) {
107 for (
int i=0; i<len; i++) {
121 for (
int i=0; i<len; i++) {
153 for (
size_t i=0; i<
points.size(); i++) {
183 for (
size_t i=0; i<
points.size(); i++) {
206 static constexpr
const char*
typeName =
"trajectory_msgs/JointTrajectory";
209 static constexpr
const char*
typeChecksum =
"65b4f94a94d1ed67169da35a02f33d3f";
214 string[] joint_names\n\
215 JointTrajectoryPoint[] points\n\
216 ================================================================================\n\
217 MSG: std_msgs/Header\n\
218 # Standard metadata for higher-level stamped data types.\n\
219 # This is generally used to communicate timestamped data \n\
220 # in a particular coordinate frame.\n\
222 # sequence ID: consecutively increasing ID \n\
224 #Two-integer timestamp that is expressed as:\n\
225 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
226 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
227 # time-handling sugar is provided by the client library\n\
229 #Frame this data is associated with\n\
234 ================================================================================\n\
235 MSG: trajectory_msgs/JointTrajectoryPoint\n\
236 # Each trajectory point specifies either positions[, velocities[, accelerations]]\n\
237 # or positions[, effort] for the trajectory to be executed.\n\
238 # All specified values are in the same order as the joint names in JointTrajectory.msg\n\
240 float64[] positions\n\
241 float64[] velocities\n\
242 float64[] accelerations\n\
244 duration time_from_start\n\
260 #endif // YARP_ROSMSG_trajectory_msgs_JointTrajectory_h
bool writeBare(yarp::os::ConnectionWriter &connection) const override
yarp::os::idl::BareStyle< yarp::rosmsg::trajectory_msgs::JointTrajectory > rosStyle
virtual bool read(yarp::os::idl::WireReader &reader)
static constexpr const char * typeChecksum
virtual bool isBareMode() const =0
Check if the connection is bare mode.
static constexpr const char * typeText
#define BOTTLE_TAG_STRING
yarp::rosmsg::std_msgs::Header header
bool readBottle(yarp::os::ConnectionReader &connection) override
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
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)
An interface for writing to a network connection.
yarp::os::Type getType() const override
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
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.
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...
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
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.
The main, catch-all namespace for YARP.
std::vector< yarp::rosmsg::trajectory_msgs::JointTrajectoryPoint > points
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 readBare(yarp::os::ConnectionReader &connection) override
static constexpr const char * typeName
yarp::os::idl::BottleStyle< yarp::rosmsg::trajectory_msgs::JointTrajectory > bottleStyle
virtual bool write(const yarp::os::idl::WireWriter &writer) const