|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
18 #ifndef YARP_ROSMSG_nav_msgs_Path_h
19 #define YARP_ROSMSG_nav_msgs_Path_h
37 std::vector<yarp::rosmsg::geometry_msgs::PoseStamped>
poses;
64 for (
int i=0; i<len; i++) {
92 for (
int i=0; i<len; i++) {
117 for (
size_t i=0; i<
poses.size(); i++) {
139 for (
size_t i=0; i<
poses.size(); i++) {
162 static constexpr
const char*
typeName =
"nav_msgs/Path";
165 static constexpr
const char*
typeChecksum =
"6227e2b7e9cce15051f669a5e197bbf7";
169 #An array of poses that represents a Path for a robot to follow\n\
171 geometry_msgs/PoseStamped[] poses\n\
173 ================================================================================\n\
174 MSG: std_msgs/Header\n\
175 # Standard metadata for higher-level stamped data types.\n\
176 # This is generally used to communicate timestamped data \n\
177 # in a particular coordinate frame.\n\
179 # sequence ID: consecutively increasing ID \n\
181 #Two-integer timestamp that is expressed as:\n\
182 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
183 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
184 # time-handling sugar is provided by the client library\n\
186 #Frame this data is associated with\n\
191 ================================================================================\n\
192 MSG: geometry_msgs/PoseStamped\n\
193 # A Pose with reference coordinate frame and timestamp\n\
197 ================================================================================\n\
198 MSG: geometry_msgs/Pose\n\
199 # A representation of pose in free space, composed of position and orientation. \n\
201 Quaternion orientation\n\
203 ================================================================================\n\
204 MSG: geometry_msgs/Point\n\
205 # This contains the position of a point in free space\n\
210 ================================================================================\n\
211 MSG: geometry_msgs/Quaternion\n\
212 # This represents an orientation in free space in quaternion form.\n\
233 #endif // YARP_ROSMSG_nav_msgs_Path_h
static constexpr const char * typeChecksum
yarp::os::Type getType() const override
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool read(yarp::os::idl::WireReader &reader)
virtual bool isBareMode() const =0
Check if the connection is bare mode.
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
bool writeBare(yarp::os::ConnectionWriter &connection) const override
static constexpr const char * typeText
yarp::os::idl::BottleStyle< yarp::rosmsg::nav_msgs::Path > bottleStyle
static constexpr const char * typeName
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.
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.
bool readBottle(yarp::os::ConnectionReader &connection) override
virtual bool convertTextMode()=0
Converts a standard description in binary into a textual description, if the connection is in text-mo...
bool readBare(yarp::os::ConnectionReader &connection) override
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.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
std::vector< yarp::rosmsg::geometry_msgs::PoseStamped > poses
The main, catch-all namespace for YARP.
yarp::rosmsg::std_msgs::Header header
A single value (typically within a Bottle).
yarp::os::idl::BareStyle< yarp::rosmsg::nav_msgs::Path > rosStyle
virtual bool write(const yarp::os::idl::WireWriter &writer) const