kitt_platform
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros
Pose.h
Go to the documentation of this file.
1 #ifndef _ROS_geometry_msgs_Pose_h
2 #define _ROS_geometry_msgs_Pose_h
3 
4 #include <stdint.h>
5 #include <string.h>
6 #include <stdlib.h>
7 #include "ros/msg.h"
8 #include "geometry_msgs/Point.h"
10 
11 namespace geometry_msgs
12 {
13 
14  class Pose : public ros::Msg
15  {
16  public:
19 
20  Pose():
21  position(),
22  orientation()
23  {
24  }
25 
26  virtual int serialize(unsigned char *outbuffer) const
27  {
28  int offset = 0;
29  offset += this->position.serialize(outbuffer + offset);
30  offset += this->orientation.serialize(outbuffer + offset);
31  return offset;
32  }
33 
34  virtual int deserialize(unsigned char *inbuffer)
35  {
36  int offset = 0;
37  offset += this->position.deserialize(inbuffer + offset);
38  offset += this->orientation.deserialize(inbuffer + offset);
39  return offset;
40  }
41 
42  const char * getType(){ return "geometry_msgs/Pose"; };
43  const char * getMD5(){ return "e45d45a5a1ce597b249e23fb30fc871f"; };
44 
45  };
46 
47 }
48 #endif
geometry_msgs::Point position
Definition: Pose.h:17
virtual int serialize(unsigned char *outbuffer) const
Definition: Quaternion.h:28
Definition: Point.h:12
virtual int serialize(unsigned char *outbuffer) const
Definition: Pose.h:26
virtual int deserialize(unsigned char *inbuffer)
Definition: Pose.h:34
geometry_msgs::Quaternion orientation
Definition: Pose.h:18
virtual int deserialize(unsigned char *inbuffer)
Definition: Quaternion.h:38
Pose()
Definition: Pose.h:20
virtual int serialize(unsigned char *outbuffer) const
Definition: Point.h:26
Definition: Quaternion.h:12
Definition: Pose.h:14
const char * getMD5()
Definition: Pose.h:43
virtual int deserialize(unsigned char *inbuffer)
Definition: Point.h:35
Definition: msg.h:43
const char * getType()
Definition: Pose.h:42