Statistics
| Branch: | Revision:

root / quad2 / arduino / src / ros_lib / geometry_msgs / QuaternionStamped.h @ c1426757

History | View | Annotate | Download (1.02 KB)

1
#ifndef _ROS_geometry_msgs_QuaternionStamped_h
2
#define _ROS_geometry_msgs_QuaternionStamped_h
3

    
4
#include <stdint.h>
5
#include <string.h>
6
#include <stdlib.h>
7
#include "ros/msg.h"
8
#include "std_msgs/Header.h"
9
#include "geometry_msgs/Quaternion.h"
10

    
11
namespace geometry_msgs
12
{
13

    
14
  class QuaternionStamped : public ros::Msg
15
  {
16
    public:
17
      std_msgs::Header header;
18
      geometry_msgs::Quaternion quaternion;
19

    
20
    virtual int serialize(unsigned char *outbuffer) const
21
    {
22
      int offset = 0;
23
      offset += this->header.serialize(outbuffer + offset);
24
      offset += this->quaternion.serialize(outbuffer + offset);
25
      return offset;
26
    }
27

    
28
    virtual int deserialize(unsigned char *inbuffer)
29
    {
30
      int offset = 0;
31
      offset += this->header.deserialize(inbuffer + offset);
32
      offset += this->quaternion.deserialize(inbuffer + offset);
33
     return offset;
34
    }
35

    
36
    const char * getType(){ return "geometry_msgs/QuaternionStamped"; };
37
    const char * getMD5(){ return "e57f1e547e0e1fd13504588ffc8334e2"; };
38

    
39
  };
40

    
41
}
42
#endif