Working towards recieving twists

Dependencies:   BufferedSerial

Fork of ros_lib_kinetic by Gary Servin

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers PoseWithCovarianceStamped.h Source File

PoseWithCovarianceStamped.h

00001 #ifndef _ROS_geometry_msgs_PoseWithCovarianceStamped_h
00002 #define _ROS_geometry_msgs_PoseWithCovarianceStamped_h
00003 
00004 #include <stdint.h>
00005 #include <string.h>
00006 #include <stdlib.h>
00007 #include "ros/msg.h"
00008 #include "std_msgs/Header.h"
00009 #include "geometry_msgs/PoseWithCovariance.h"
00010 
00011 namespace geometry_msgs
00012 {
00013 
00014   class PoseWithCovarianceStamped : public ros::Msg
00015   {
00016     public:
00017       typedef std_msgs::Header _header_type;
00018       _header_type header;
00019       typedef geometry_msgs::PoseWithCovariance _pose_type;
00020       _pose_type pose;
00021 
00022     PoseWithCovarianceStamped():
00023       header(),
00024       pose()
00025     {
00026     }
00027 
00028     virtual int serialize(unsigned char *outbuffer) const
00029     {
00030       int offset = 0;
00031       offset += this->header.serialize(outbuffer + offset);
00032       offset += this->pose.serialize(outbuffer + offset);
00033       return offset;
00034     }
00035 
00036     virtual int deserialize(unsigned char *inbuffer)
00037     {
00038       int offset = 0;
00039       offset += this->header.deserialize(inbuffer + offset);
00040       offset += this->pose.deserialize(inbuffer + offset);
00041      return offset;
00042     }
00043 
00044     const char * getType(){ return "geometry_msgs/PoseWithCovarianceStamped"; };
00045     const char * getMD5(){ return "953b798c0f514ff060a53a3498ce6246"; };
00046 
00047   };
00048 
00049 }
00050 #endif